pokecrystal-board/maps/Route20.asm

181 lines
2.9 KiB
NASM
Raw Normal View History

2015-07-10 01:20:21 -07:00
Route20_MapScriptHeader:
; trigger count
db 0
; callback count
db 1
; callbacks
2015-07-10 05:08:03 -07:00
dbw 5, .ClearRocks
2015-07-10 05:08:03 -07:00
.ClearRocks
setevent EVENT_CINNABAR_ROCKS_CLEARED
return
2015-07-10 01:20:21 -07:00
TrainerSwimmerfNicole:
; bit/flag number
2015-07-10 01:20:21 -07:00
dw EVENT_BEAT_SWIMMERF_NICOLE
; trainer group && trainer id
db SWIMMERF, NICOLE
; text when seen
dw SwimmerfNicoleSeenText
; text when trainer beaten
dw SwimmerfNicoleBeatenText
; script when lost
dw $0000
; script when talk again
dw SwimmerfNicoleScript
2015-07-10 01:20:21 -07:00
SwimmerfNicoleScript:
talkaftercancel
loadfont
2015-01-20 00:01:23 -08:00
writetext UnknownText_0x1acd93
closetext
loadmovesprites
end
2015-07-10 01:20:21 -07:00
TrainerSwimmerfLori:
; bit/flag number
2015-07-10 01:20:21 -07:00
dw EVENT_BEAT_SWIMMERF_LORI
; trainer group && trainer id
db SWIMMERF, LORI
; text when seen
dw SwimmerfLoriSeenText
; text when trainer beaten
dw SwimmerfLoriBeatenText
; script when lost
dw $0000
; script when talk again
dw SwimmerfLoriScript
2015-07-10 01:20:21 -07:00
SwimmerfLoriScript:
talkaftercancel
loadfont
2015-01-20 00:01:23 -08:00
writetext UnknownText_0x1ace15
closetext
loadmovesprites
end
2015-07-10 01:20:21 -07:00
TrainerSwimmermCameron:
; bit/flag number
2015-07-10 01:20:21 -07:00
dw EVENT_BEAT_SWIMMERM_CAMERON
; trainer group && trainer id
db SWIMMERM, CAMERON
; text when seen
dw SwimmermCameronSeenText
; text when trainer beaten
dw SwimmermCameronBeatenText
; script when lost
dw $0000
; script when talk again
dw SwimmermCameronScript
2015-07-10 01:20:21 -07:00
SwimmermCameronScript:
talkaftercancel
loadfont
2015-01-20 00:01:23 -08:00
writetext UnknownText_0x1ace8b
closetext
loadmovesprites
end
2015-07-10 01:20:21 -07:00
MapRoute20Signpost0Script:
jumptext UnknownText_0x1acec2
2015-07-10 01:20:21 -07:00
SwimmerfNicoleSeenText:
text "I feel so much"
line "lighter in water."
done
2015-07-10 01:20:21 -07:00
SwimmerfNicoleBeatenText:
text "Oh, no!"
done
2015-07-10 01:20:21 -07:00
UnknownText_0x1acd93:
text "Swimming exercises"
line "your full body."
para "It's really good"
line "for you."
done
2015-07-10 01:20:21 -07:00
SwimmerfLoriSeenText:
text "What an impressive"
line "collection of GYM"
para "BADGES. We should"
line "battle!"
done
2015-07-10 01:20:21 -07:00
SwimmerfLoriBeatenText:
text "No!"
done
2015-07-10 01:20:21 -07:00
UnknownText_0x1ace15:
text "SURF is no longer"
line "the only HM move"
cont "you use in water."
done
2015-07-10 01:20:21 -07:00
SwimmermCameronSeenText:
text "I guess it's im-"
line "possible to swim"
para "all the way to"
line "JOHTO."
done
2015-07-10 01:20:21 -07:00
SwimmermCameronBeatenText:
text "Aiyah!"
done
2015-07-10 01:20:21 -07:00
UnknownText_0x1ace8b:
text "Besides the sea, I"
line "can also swim in"
cont "ponds and rivers."
done
2015-07-10 01:20:21 -07:00
UnknownText_0x1acec2:
text "What does this"
line "sign say?"
para "CINNABAR GYM"
line "LEADER: BLAINE"
done
2015-07-10 01:20:21 -07:00
Route20_MapEventHeader:
; filler
db 0, 0
; warps
db 1
warp_def $7, $26, 1, GROUP_SEAFOAM_GYM, MAP_SEAFOAM_GYM
; xy triggers
db 0
; signposts
db 1
signpost 11, 37, $0, MapRoute20Signpost0Script
; people-events
db 3
person_event SPRITE_SWIMMER_GIRL, 12, 56, $a, $0, 255, 255, $a2, 3, TrainerSwimmerfNicole, EVENT_ALWAYS_THERE
person_event SPRITE_SWIMMER_GIRL, 17, 49, $a, $0, 255, 255, $a2, 3, TrainerSwimmerfLori, EVENT_ALWAYS_THERE
person_event SPRITE_SWIMMER_GUY, 17, 16, $a, $0, 255, 255, $82, 3, TrainerSwimmermCameron, EVENT_ALWAYS_THERE