pokecrystal/maps/Route34IlexForestGate.asm

159 lines
3.2 KiB
NASM
Raw Normal View History

2015-07-10 08:45:35 +00:00
Route34IlexForestGate_MapScriptHeader:
; trigger count
db 0
; callback count
db 1
; callbacks
dbw 2, UnknownScript_0x62d2d
2015-07-10 08:45:35 +00:00
UnknownScript_0x62d2d:
2015-07-10 12:08:03 +00:00
checkevent EVENT_FOREST_IS_RESTLESS
iffalse UnknownScript_0x62d38
disappear $2
appear $5
return
2015-07-10 08:45:35 +00:00
UnknownScript_0x62d38:
disappear $5
appear $2
return
2015-07-10 08:45:35 +00:00
UnknownScript_0x62d3d:
2015-07-10 12:08:03 +00:00
checkevent EVENT_FOREST_IS_RESTLESS
iffalse UnknownScript_0x62d62
showemote EMOTE_SHOCK, $5, 20
spriteface $5, LEFT
spriteface $0, RIGHT
follow $0, $5
applymovement $0, MovementData_0x62d97
stopfollow
spriteface $0, DOWN
loadfont
2015-01-20 08:01:23 +00:00
writetext UnknownText_0x62e41
closetext
loadmovesprites
applymovement $5, MovementData_0x62d9a
2015-07-10 08:45:35 +00:00
UnknownScript_0x62d62:
end
2015-07-10 08:45:35 +00:00
TeacherScript_0x62d63:
faceplayer
loadfont
2015-07-10 12:08:03 +00:00
checkevent EVENT_FOREST_IS_RESTLESS
iftrue UnknownScript_0x62d84
2013-09-24 07:48:58 +00:00
checkevent EVENT_GOT_TM12_SWEET_SCENT
iftrue UnknownScript_0x62d7e
2015-01-20 08:01:23 +00:00
writetext UnknownText_0x62d9d
keeptextopen
verbosegiveitem TM_SWEET_SCENT, 1
iffalse UnknownScript_0x62d82
2013-09-24 07:48:58 +00:00
setevent EVENT_GOT_TM12_SWEET_SCENT
2015-07-10 08:45:35 +00:00
UnknownScript_0x62d7e:
2015-01-20 08:01:23 +00:00
writetext UnknownText_0x62df6
closetext
2015-07-10 08:45:35 +00:00
UnknownScript_0x62d82:
loadmovesprites
end
2015-07-10 08:45:35 +00:00
UnknownScript_0x62d84:
2015-01-20 08:01:23 +00:00
writetext UnknownText_0x62e41
keeptextopen
loadmovesprites
end
2015-07-10 08:45:35 +00:00
ButterfreeScript_0x62d8a:
loadfont
2015-01-20 08:01:23 +00:00
writetext UnknownText_0x62e83
cry BUTTERFREE
closetext
loadmovesprites
end
2015-07-10 08:45:35 +00:00
LassScript_0x62d94:
jumptextfaceplayer UnknownText_0x62e97
2015-07-10 08:45:35 +00:00
MovementData_0x62d97:
step_up
step_up
step_end
2015-07-10 08:45:35 +00:00
MovementData_0x62d9a:
step_down
step_right
step_end
2015-07-10 08:45:35 +00: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 08:45:35 +00: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 08:45:35 +00:00
UnknownText_0x62e41:
text "Something's wrong"
line "in ILEX FOREST…"
para "You should stay"
line "away right now."
done
2015-07-10 08:45:35 +00:00
UnknownText_0x62e83:
text "BUTTERFREE: Freeh!"
done
2015-07-10 08:45:35 +00: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 08:45:35 +00:00
Route34IlexForestGate_MapEventHeader:
; filler
db 0, 0
; warps
db 4
warp_def $0, $4, 1, GROUP_ROUTE_34, MAP_ROUTE_34
warp_def $0, $5, 2, GROUP_ROUTE_34, MAP_ROUTE_34
warp_def $7, $4, 1, GROUP_ILEX_FOREST, MAP_ILEX_FOREST
warp_def $7, $5, 1, GROUP_ILEX_FOREST, MAP_ILEX_FOREST
; xy triggers
db 1
xy_trigger 0, $7, $4, $0, UnknownScript_0x62d3d, $0, $0
; signposts
db 0
; people-events
db 4
person_event SPRITE_TEACHER, 7, 13, LEFT << 2 | $0, $0, -1, -1, (PAL_OW_BLUE << 4) | $80, 0, TeacherScript_0x62d63, EVENT_ROUTE_34_ILEX_FOREST_GATE_TEACHER_BEHIND_COUNTER
person_event SPRITE_BUTTERFREE, 8, 13, UP << 2 | $12, $0, -1, -1, (PAL_OW_RED << 4) | $80, 0, ButterfreeScript_0x62d8a, -1
person_event SPRITE_LASS, 8, 7, UP << 2 | $0, $10, -1, -1, (PAL_OW_GREEN << 4) | $80, 0, LassScript_0x62d94, EVENT_ROUTE_34_ILEX_FOREST_GATE_LASS
person_event SPRITE_TEACHER, 11, 9, UP << 2 | $3, $0, -1, -1, (PAL_OW_BLUE << 4) | $80, 0, TeacherScript_0x62d63, EVENT_ROUTE_34_ILEX_FOREST_GATE_TEACHER_IN_WALKWAY