mirror of
https://gitlab.com/xCrystal/pokecrystal-board.git
synced 2024-09-09 09:51:34 -07:00
c3331eb7b1
Co-authored-by: Rangi <35663410+Rangi42@users.noreply.github.com>
128 lines
2.6 KiB
NASM
128 lines
2.6 KiB
NASM
object_const_def
|
|
const ROUTE20_SWIMMER_GIRL1
|
|
const ROUTE20_SWIMMER_GIRL2
|
|
const ROUTE20_SWIMMER_GUY
|
|
|
|
Route20_MapScripts:
|
|
def_scene_scripts
|
|
|
|
def_callbacks
|
|
callback MAPCALLBACK_NEWMAP, Route20ClearRocksCallback
|
|
|
|
Route20ClearRocksCallback:
|
|
setevent EVENT_CINNABAR_ROCKS_CLEARED
|
|
endcallback
|
|
|
|
TrainerSwimmerfNicole:
|
|
trainer SWIMMERF, NICOLE, EVENT_BEAT_SWIMMERF_NICOLE, SwimmerfNicoleSeenText, SwimmerfNicoleBeatenText, 0, .Script
|
|
|
|
.Script:
|
|
endifjustbattled
|
|
opentext
|
|
writetext SwimmerfNicoleAfterBattleText
|
|
waitbutton
|
|
closetext
|
|
end
|
|
|
|
TrainerSwimmerfLori:
|
|
trainer SWIMMERF, LORI, EVENT_BEAT_SWIMMERF_LORI, SwimmerfLoriSeenText, SwimmerfLoriBeatenText, 0, .Script
|
|
|
|
.Script:
|
|
endifjustbattled
|
|
opentext
|
|
writetext SwimmerfLoriAfterBattleText
|
|
waitbutton
|
|
closetext
|
|
end
|
|
|
|
TrainerSwimmermCameron:
|
|
trainer SWIMMERM, CAMERON, EVENT_BEAT_SWIMMERM_CAMERON, SwimmermCameronSeenText, SwimmermCameronBeatenText, 0, .Script
|
|
|
|
.Script:
|
|
endifjustbattled
|
|
opentext
|
|
writetext SwimmermCameronAfterBattleText
|
|
waitbutton
|
|
closetext
|
|
end
|
|
|
|
CinnabarGymSign:
|
|
jumptext CinnabarGymSignText
|
|
|
|
SwimmerfNicoleSeenText:
|
|
text "I feel so much"
|
|
line "lighter in water."
|
|
done
|
|
|
|
SwimmerfNicoleBeatenText:
|
|
text "Oh, no!"
|
|
done
|
|
|
|
SwimmerfNicoleAfterBattleText:
|
|
text "Swimming exercises"
|
|
line "your full body."
|
|
|
|
para "It's really good"
|
|
line "for you."
|
|
done
|
|
|
|
SwimmerfLoriSeenText:
|
|
text "What an impressive"
|
|
line "collection of GYM"
|
|
|
|
para "BADGES. We should"
|
|
line "battle!"
|
|
done
|
|
|
|
SwimmerfLoriBeatenText:
|
|
text "No!"
|
|
done
|
|
|
|
SwimmerfLoriAfterBattleText:
|
|
text "SURF is no longer"
|
|
line "the only HM move"
|
|
cont "you use in water."
|
|
done
|
|
|
|
SwimmermCameronSeenText:
|
|
text "I guess it's im-"
|
|
line "possible to swim"
|
|
|
|
para "all the way to"
|
|
line "JOHTO."
|
|
done
|
|
|
|
SwimmermCameronBeatenText:
|
|
text "Aiyah!"
|
|
done
|
|
|
|
SwimmermCameronAfterBattleText:
|
|
text "Besides the sea, I"
|
|
line "can also swim in"
|
|
cont "ponds and rivers."
|
|
done
|
|
|
|
CinnabarGymSignText:
|
|
text "What does this"
|
|
line "sign say?"
|
|
|
|
para "CINNABAR GYM"
|
|
line "LEADER: BLAINE"
|
|
done
|
|
|
|
Route20_MapEvents:
|
|
db 0, 0 ; filler
|
|
|
|
def_warp_events
|
|
warp_event 38, 7, SEAFOAM_GYM, 1
|
|
|
|
def_coord_events
|
|
|
|
def_bg_events
|
|
bg_event 37, 11, BGEVENT_READ, CinnabarGymSign
|
|
|
|
def_object_events
|
|
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
|