pokecrystal-board/maps/Route20.asm

128 lines
2.6 KiB
NASM
Raw Normal View History

object_const_def ; object_event constants
2015-11-26 21:22:14 -08:00
const ROUTE20_SWIMMER_GIRL1
const ROUTE20_SWIMMER_GIRL2
const ROUTE20_SWIMMER_GUY
Route20_MapScripts:
db 0 ; scene scripts
db 1 ; callbacks
callback MAPCALLBACK_NEWMAP, .ClearRocks
.ClearRocks:
2015-07-10 05:08:03 -07:00
setevent EVENT_CINNABAR_ROCKS_CLEARED
endcallback
2015-07-10 01:20:21 -07:00
TrainerSwimmerfNicole:
trainer SWIMMERF, NICOLE, EVENT_BEAT_SWIMMERF_NICOLE, SwimmerfNicoleSeenText, SwimmerfNicoleBeatenText, 0, .Script
2017-12-17 17:45:04 -08:00
.Script:
2018-02-02 18:09:17 -08:00
endifjustbattled
2015-12-09 15:25:44 -08:00
opentext
2017-12-10 12:36:58 -08:00
writetext SwimmerfNicoleAfterBattleText
2015-11-25 07:16:29 -08:00
waitbutton
closetext
end
2015-07-10 01:20:21 -07:00
TrainerSwimmerfLori:
trainer SWIMMERF, LORI, EVENT_BEAT_SWIMMERF_LORI, SwimmerfLoriSeenText, SwimmerfLoriBeatenText, 0, .Script
2017-12-17 17:45:04 -08:00
.Script:
2018-02-02 18:09:17 -08:00
endifjustbattled
2015-12-09 15:25:44 -08:00
opentext
2017-12-10 12:36:58 -08:00
writetext SwimmerfLoriAfterBattleText
2015-11-25 07:16:29 -08:00
waitbutton
closetext
end
2015-07-10 01:20:21 -07:00
TrainerSwimmermCameron:
trainer SWIMMERM, CAMERON, EVENT_BEAT_SWIMMERM_CAMERON, SwimmermCameronSeenText, SwimmermCameronBeatenText, 0, .Script
2017-12-17 17:45:04 -08:00
.Script:
2018-02-02 18:09:17 -08:00
endifjustbattled
2015-12-09 15:25:44 -08:00
opentext
2017-12-10 12:36:58 -08:00
writetext SwimmermCameronAfterBattleText
2015-11-25 07:16:29 -08:00
waitbutton
closetext
end
2016-04-06 21:59:45 -07:00
CinnabarGymSign:
jumptext CinnabarGymSignText
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
2017-12-10 12:36:58 -08:00
SwimmerfNicoleAfterBattleText:
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
2017-12-10 12:36:58 -08:00
SwimmerfLoriAfterBattleText:
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
2017-12-10 12:36:58 -08:00
SwimmermCameronAfterBattleText:
text "Besides the sea, I"
line "can also swim in"
cont "ponds and rivers."
done
2016-04-06 21:59:45 -07:00
CinnabarGymSignText:
text "What does this"
line "sign say?"
para "CINNABAR GYM"
line "LEADER: BLAINE"
done
Route20_MapEvents:
db 0, 0 ; filler
db 1 ; warp events
2018-02-01 19:22:07 -08:00
warp_event 38, 7, SEAFOAM_GYM, 1
db 0 ; coord events
db 1 ; bg events
bg_event 37, 11, BGEVENT_READ, CinnabarGymSign
db 3 ; object events
2018-02-01 19:22:07 -08:00
object_event 52, 8, SPRITE_SWIMMER_GIRL, SPRITEMOVEDATA_SPINRANDOM_FAST, 0, 0, -1, -1, PAL_NPC_GREEN, OBJECTTYPE_TRAINER, 3, TrainerSwimmerfNicole, -1
object_event 45, 13, SPRITE_SWIMMER_GIRL, SPRITEMOVEDATA_SPINRANDOM_FAST, 0, 0, -1, -1, PAL_NPC_GREEN, OBJECTTYPE_TRAINER, 3, TrainerSwimmerfLori, -1
object_event 12, 13, SPRITE_SWIMMER_GUY, SPRITEMOVEDATA_SPINRANDOM_FAST, 0, 0, -1, -1, PAL_NPC_RED, OBJECTTYPE_TRAINER, 3, TrainerSwimmermCameron, -1