pokecrystal-board/maps/Route34IlexForestGate.asm

165 lines
3.6 KiB
NASM
Raw Normal View History

2015-11-26 21:22:14 -08:00
const_value set 2
const ROUTE34ILEXFORESTGATE_TEACHER1
const ROUTE34ILEXFORESTGATE_BUTTERFREE
const ROUTE34ILEXFORESTGATE_LASS
const ROUTE34ILEXFORESTGATE_TEACHER2
2015-07-10 01:45:35 -07:00
Route34IlexForestGate_MapScriptHeader:
.MapTriggers:
db 0
.MapCallbacks:
db 1
; callbacks
2016-01-06 04:44:50 -08:00
dbw MAPCALLBACK_OBJECTS, UnknownScript_0x62d2d
2015-07-10 01:45:35 -07:00
UnknownScript_0x62d2d:
2015-07-10 05:08:03 -07:00
checkevent EVENT_FOREST_IS_RESTLESS
iffalse UnknownScript_0x62d38
2015-11-26 21:22:14 -08:00
disappear ROUTE34ILEXFORESTGATE_TEACHER1
appear ROUTE34ILEXFORESTGATE_TEACHER2
return
2015-07-10 01:45:35 -07:00
UnknownScript_0x62d38:
2015-11-26 21:22:14 -08:00
disappear ROUTE34ILEXFORESTGATE_TEACHER2
appear ROUTE34ILEXFORESTGATE_TEACHER1
return
2015-07-10 01:45:35 -07:00
UnknownScript_0x62d3d:
2015-07-10 05:08:03 -07:00
checkevent EVENT_FOREST_IS_RESTLESS
iffalse UnknownScript_0x62d62
2015-11-26 21:22:14 -08:00
showemote EMOTE_SHOCK, ROUTE34ILEXFORESTGATE_TEACHER2, 20
spriteface ROUTE34ILEXFORESTGATE_TEACHER2, LEFT
spriteface PLAYER, RIGHT
2015-11-26 21:22:14 -08:00
follow PLAYER, ROUTE34ILEXFORESTGATE_TEACHER2
applymovement PLAYER, MovementData_0x62d97
stopfollow
spriteface PLAYER, DOWN
2015-12-09 15:25:44 -08:00
opentext
2015-01-20 00:01:23 -08:00
writetext UnknownText_0x62e41
2015-11-25 07:16:29 -08:00
waitbutton
closetext
2015-11-26 21:22:14 -08:00
applymovement ROUTE34ILEXFORESTGATE_TEACHER2, MovementData_0x62d9a
2015-07-10 01:45:35 -07:00
UnknownScript_0x62d62:
end
2015-07-10 01:45:35 -07:00
TeacherScript_0x62d63:
faceplayer
2015-12-09 15:25:44 -08:00
opentext
2015-07-10 05:08:03 -07:00
checkevent EVENT_FOREST_IS_RESTLESS
iftrue UnknownScript_0x62d84
2013-09-24 00:48:58 -07:00
checkevent EVENT_GOT_TM12_SWEET_SCENT
iftrue UnknownScript_0x62d7e
2015-01-20 00:01:23 -08:00
writetext UnknownText_0x62d9d
2015-11-29 19:29:45 -08:00
buttonsound
2015-11-04 17:20:14 -08:00
verbosegiveitem TM_SWEET_SCENT
iffalse UnknownScript_0x62d82
2013-09-24 00:48:58 -07:00
setevent EVENT_GOT_TM12_SWEET_SCENT
2015-07-10 01:45:35 -07:00
UnknownScript_0x62d7e:
2015-01-20 00:01:23 -08:00
writetext UnknownText_0x62df6
2015-11-25 07:16:29 -08:00
waitbutton
2015-07-10 01:45:35 -07:00
UnknownScript_0x62d82:
2015-11-25 07:16:29 -08:00
closetext
end
2015-07-10 01:45:35 -07:00
UnknownScript_0x62d84:
2015-01-20 00:01:23 -08:00
writetext UnknownText_0x62e41
2015-11-29 19:29:45 -08:00
buttonsound
2015-11-25 07:16:29 -08:00
closetext
end
2016-04-07 03:13:59 -07:00
IlexGateButterfree:
2015-12-09 15:25:44 -08:00
opentext
2015-01-20 00:01:23 -08:00
writetext UnknownText_0x62e83
cry BUTTERFREE
2015-11-25 07:16:29 -08:00
waitbutton
closetext
end
2015-07-10 01:45:35 -07:00
LassScript_0x62d94:
jumptextfaceplayer UnknownText_0x62e97
2015-07-10 01:45:35 -07:00
MovementData_0x62d97:
2016-05-14 10:46:14 -07:00
step UP
step UP
step_end
2015-07-10 01:45:35 -07:00
MovementData_0x62d9a:
2016-05-14 10:46:14 -07:00
step DOWN
step RIGHT
step_end
2015-07-10 01:45:35 -07:00
UnknownText_0x62d9d:
text "Oh, honey. You're"
line "making a #DEX?"
para "It must be hard if"
line "#MON won't"
para "appear. Try using"
line "this TM."
done
2015-07-10 01:45:35 -07:00
UnknownText_0x62df6:
text "It's SWEET SCENT."
para "Use it wherever"
line "#MON appear."
para "#MON will be"
line "enticed by it."
done
2015-07-10 01:45:35 -07:00
UnknownText_0x62e41:
text "Something's wrong"
line "in ILEX FOREST…"
para "You should stay"
line "away right now."
done
2015-07-10 01:45:35 -07:00
UnknownText_0x62e83:
text "BUTTERFREE: Freeh!"
done
2015-07-10 01:45:35 -07:00
UnknownText_0x62e97:
text "Did you see the"
line "shrine honoring"
cont "the protector?"
para "It watches over"
line "the FOREST from"
cont "across time."
para "I think that it"
line "must be a grass-"
cont "type #MON."
done
2015-07-10 01:45:35 -07:00
Route34IlexForestGate_MapEventHeader:
; filler
db 0, 0
.Warps:
db 4
warp_def $0, $4, 1, ROUTE_34
warp_def $0, $5, 2, ROUTE_34
warp_def $7, $4, 1, ILEX_FOREST
warp_def $7, $5, 1, ILEX_FOREST
.XYTriggers:
db 1
xy_trigger 0, $7, $4, $0, UnknownScript_0x62d3d, $0, $0
.Signposts:
db 0
.PersonEvents:
db 4
person_event SPRITE_TEACHER, 3, 9, SPRITEMOVEDATA_STANDING_LEFT, 0, 0, -1, -1, (1 << 3) | PAL_OW_BLUE, PERSONTYPE_SCRIPT, 0, TeacherScript_0x62d63, EVENT_ROUTE_34_ILEX_FOREST_GATE_TEACHER_BEHIND_COUNTER
2016-04-07 03:13:59 -07:00
person_event SPRITE_BUTTERFREE, 4, 9, SPRITEMOVEDATA_POKEMON, 0, 0, -1, -1, (1 << 3) | PAL_OW_RED, PERSONTYPE_SCRIPT, 0, IlexGateButterfree, -1
person_event SPRITE_LASS, 4, 3, SPRITEMOVEDATA_WALK_UP_DOWN, 1, 0, -1, -1, (1 << 3) | PAL_OW_GREEN, PERSONTYPE_SCRIPT, 0, LassScript_0x62d94, EVENT_ROUTE_34_ILEX_FOREST_GATE_LASS
person_event SPRITE_TEACHER, 7, 5, SPRITEMOVEDATA_STANDING_UP, 0, 0, -1, -1, (1 << 3) | PAL_OW_BLUE, PERSONTYPE_SCRIPT, 0, TeacherScript_0x62d63, EVENT_ROUTE_34_ILEX_FOREST_GATE_TEACHER_IN_WALKWAY