pokecrystal-board/maps/Route21.asm
2015-07-13 00:18:01 -04:00

153 lines
2.4 KiB
NASM

Route21_MapScriptHeader:
; trigger count
db 0
; callback count
db 0
TrainerSwimmermSeth:
; bit/flag number
dw EVENT_BEAT_SWIMMERM_SETH
; trainer group && trainer id
db SWIMMERM, SETH
; text when seen
dw SwimmermSethSeenText
; text when trainer beaten
dw SwimmermSethBeatenText
; script when lost
dw $0000
; script when talk again
dw SwimmermSethScript
SwimmermSethScript:
talkaftercancel
loadfont
writetext UnknownText_0x1ac873
closetext
loadmovesprites
end
TrainerSwimmerfNikki:
; bit/flag number
dw EVENT_BEAT_SWIMMERF_NIKKI
; trainer group && trainer id
db SWIMMERF, NIKKI
; text when seen
dw SwimmerfNikkiSeenText
; text when trainer beaten
dw SwimmerfNikkiBeatenText
; script when lost
dw $0000
; script when talk again
dw SwimmerfNikkiScript
SwimmerfNikkiScript:
talkaftercancel
loadfont
writetext UnknownText_0x1ac8f1
closetext
loadmovesprites
end
TrainerFisherArnold:
; bit/flag number
dw EVENT_BEAT_FISHER_ARNOLD
; trainer group && trainer id
db FISHER, ARNOLD
; text when seen
dw FisherArnoldSeenText
; text when trainer beaten
dw FisherArnoldBeatenText
; script when lost
dw $0000
; script when talk again
dw FisherArnoldScript
FisherArnoldScript:
talkaftercancel
loadfont
writetext UnknownText_0x1ac95c
closetext
loadmovesprites
end
SwimmermSethSeenText:
text "Land ho! Gotta"
line "keep going!"
done
SwimmermSethBeatenText:
text "Glug…"
done
UnknownText_0x1ac873:
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
UnknownText_0x1ac8f1:
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
UnknownText_0x1ac95c:
text "I'll just go back"
line "to fishing…"
done
Route21_MapEventHeader:
; filler
db 0, 0
; warps
db 0
; xy triggers
db 0
; signposts
db 0
; people-events
db 3
person_event SPRITE_SWIMMER_GIRL, 20, 15, $a, $0, 255, 255, $a2, 3, TrainerSwimmerfNikki, -1
person_event SPRITE_SWIMMER_GUY, 34, 6, $9, $0, 255, 255, $82, 4, TrainerSwimmermSeth, -1
person_event SPRITE_FISHER, 26, 18, $7, $0, 255, 255, $a2, 1, TrainerFisherArnold, -1