pokecrystal-board/maps/Route20.asm

138 lines
2.7 KiB
NASM
Raw Normal View History

2015-11-26 21:22:14 -08:00
const_value set 2
const ROUTE20_SWIMMER_GIRL1
const ROUTE20_SWIMMER_GIRL2
const ROUTE20_SWIMMER_GUY
2015-07-10 01:20:21 -07:00
Route20_MapScriptHeader:
.MapTriggers:
db 0
.MapCallbacks:
db 1
; callbacks
2016-01-06 04:44:50 -08:00
dbw MAPCALLBACK_NEWMAP, .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:
2015-11-02 11:37:02 -08:00
trainer EVENT_BEAT_SWIMMERF_NICOLE, SWIMMERF, NICOLE, SwimmerfNicoleSeenText, SwimmerfNicoleBeatenText, 0, SwimmerfNicoleScript
2015-07-10 01:20:21 -07:00
SwimmerfNicoleScript:
2015-11-25 07:16:29 -08:00
end_if_just_battled
2015-12-09 15:25:44 -08:00
opentext
2015-01-20 00:01:23 -08:00
writetext UnknownText_0x1acd93
2015-11-25 07:16:29 -08:00
waitbutton
closetext
end
2015-07-10 01:20:21 -07:00
TrainerSwimmerfLori:
2015-11-02 11:37:02 -08:00
trainer EVENT_BEAT_SWIMMERF_LORI, SWIMMERF, LORI, SwimmerfLoriSeenText, SwimmerfLoriBeatenText, 0, SwimmerfLoriScript
2015-07-10 01:20:21 -07:00
SwimmerfLoriScript:
2015-11-25 07:16:29 -08:00
end_if_just_battled
2015-12-09 15:25:44 -08:00
opentext
2015-01-20 00:01:23 -08:00
writetext UnknownText_0x1ace15
2015-11-25 07:16:29 -08:00
waitbutton
closetext
end
2015-07-10 01:20:21 -07:00
TrainerSwimmermCameron:
2015-11-02 11:37:02 -08:00
trainer EVENT_BEAT_SWIMMERM_CAMERON, SWIMMERM, CAMERON, SwimmermCameronSeenText, SwimmermCameronBeatenText, 0, SwimmermCameronScript
2015-07-10 01:20:21 -07:00
SwimmermCameronScript:
2015-11-25 07:16:29 -08:00
end_if_just_battled
2015-12-09 15:25:44 -08:00
opentext
2015-01-20 00:01:23 -08:00
writetext UnknownText_0x1ace8b
2015-11-25 07:16:29 -08:00
waitbutton
closetext
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, SEAFOAM_GYM
.XYTriggers:
db 0
.Signposts:
db 1
signpost 11, 37, SIGNPOST_READ, MapRoute20Signpost0Script
.PersonEvents:
db 3
person_event SPRITE_SWIMMER_GIRL, 8, 52, SPRITEMOVEDATA_SPINRANDOM_FAST, 0, 0, -1, -1, (1 << 3) | PAL_OW_GREEN, PERSONTYPE_TRAINER, 3, TrainerSwimmerfNicole, -1
person_event SPRITE_SWIMMER_GIRL, 13, 45, SPRITEMOVEDATA_SPINRANDOM_FAST, 0, 0, -1, -1, (1 << 3) | PAL_OW_GREEN, PERSONTYPE_TRAINER, 3, TrainerSwimmerfLori, -1
person_event SPRITE_SWIMMER_GUY, 13, 12, SPRITEMOVEDATA_SPINRANDOM_FAST, 0, 0, -1, -1, (1 << 3) | PAL_OW_RED, PERSONTYPE_TRAINER, 3, TrainerSwimmermCameron, -1