pokecrystal-board/maps/Route21.asm
Remy Oukaour c05b7f41dd Renaming: (fix #412)
- MapTriggers / maptrigger → SceneScripts / scene_script
- XYTriggers / xy_trigger → CoordEvents / coord_event
- Signposts / signpost → BGEvents / bg_event
- PersonEvents / person_event → ObjectEvents / object_event
2017-12-24 14:33:17 -05:00

110 lines
2.1 KiB
NASM

const_value set 2
const ROUTE21_SWIMMER_GIRL
const ROUTE21_SWIMMER_GUY
const ROUTE21_FISHER
Route21_MapScriptHeader:
.SceneScripts:
db 0
.MapCallbacks:
db 0
TrainerSwimmermSeth:
trainer EVENT_BEAT_SWIMMERM_SETH, SWIMMERM, SETH, SwimmermSethSeenText, SwimmermSethBeatenText, 0, .Script
.Script:
end_if_just_battled
opentext
writetext SwimmermSethAfterBattleText
waitbutton
closetext
end
TrainerSwimmerfNikki:
trainer EVENT_BEAT_SWIMMERF_NIKKI, SWIMMERF, NIKKI, SwimmerfNikkiSeenText, SwimmerfNikkiBeatenText, 0, .Script
.Script:
end_if_just_battled
opentext
writetext SwimmerfNikkiAfterBattleText
waitbutton
closetext
end
TrainerFisherArnold:
trainer EVENT_BEAT_FISHER_ARNOLD, FISHER, ARNOLD, FisherArnoldSeenText, FisherArnoldBeatenText, 0, .Script
.Script:
end_if_just_battled
opentext
writetext FisherArnoldAfterBattleText
waitbutton
closetext
end
SwimmermSethSeenText:
text "Land ho! Gotta"
line "keep going!"
done
SwimmermSethBeatenText:
text "Glug…"
done
SwimmermSethAfterBattleText:
text "This arrogant guy"
line "was at CINNABAR's"
cont "volcano."
done
SwimmerfNikkiSeenText:
text "If I win, you have"
line "to help me with my"
cont "suntan lotion!"
done
SwimmerfNikkiBeatenText:
text "I'm worried about"
line "sunburn…"
done
SwimmerfNikkiAfterBattleText:
text "I have to watch"
line "out for blemishes"
cont "caused by the sun."
done
FisherArnoldSeenText:
text "I'm bored by fish-"
line "ing. Let's battle!"
done
FisherArnoldBeatenText:
text "Utter failure…"
done
FisherArnoldAfterBattleText:
text "I'll just go back"
line "to fishing…"
done
Route21_MapEventHeader:
; filler
db 0, 0
.Warps:
db 0
.CoordEvents:
db 0
.BGEvents:
db 0
.ObjectEvents:
db 3
object_event SPRITE_SWIMMER_GIRL, 16, 11, SPRITEMOVEDATA_SPINRANDOM_FAST, 0, 0, -1, -1, PAL_NPC_GREEN, OBJECTTYPE_TRAINER, 3, TrainerSwimmerfNikki, -1
object_event SPRITE_SWIMMER_GUY, 30, 2, SPRITEMOVEDATA_STANDING_RIGHT, 0, 0, -1, -1, PAL_NPC_RED, OBJECTTYPE_TRAINER, 4, TrainerSwimmermSeth, -1
object_event SPRITE_FISHER, 22, 14, SPRITEMOVEDATA_STANDING_UP, 0, 0, -1, -1, PAL_NPC_GREEN, OBJECTTYPE_TRAINER, 1, TrainerFisherArnold, -1