mirror of https://github.com/pret/pokecrystal.git
97 lines
1.7 KiB
NASM
97 lines
1.7 KiB
NASM
const_value set 2
|
|
const ROUTE10SOUTH_POKEFAN_M1
|
|
const ROUTE10SOUTH_POKEFAN_M2
|
|
|
|
Route10South_MapScriptHeader:
|
|
.MapTriggers:
|
|
db 0
|
|
|
|
.MapCallbacks:
|
|
db 0
|
|
|
|
TrainerHikerJim:
|
|
trainer EVENT_BEAT_HIKER_JIM, HIKER, JIM, HikerJimSeenText, HikerJimBeatenText, 0, HikerJimScript
|
|
|
|
HikerJimScript:
|
|
end_if_just_battled
|
|
opentext
|
|
writetext HikerJimAfterBattleText
|
|
waitbutton
|
|
closetext
|
|
end
|
|
|
|
TrainerPokefanmRobert:
|
|
trainer EVENT_BEAT_POKEFANM_ROBERT, POKEFANM, ROBERT, PokefanmRobertSeenText, PokefanmRobertBeatenText, 0, PokefanmRobertScript
|
|
|
|
PokefanmRobertScript:
|
|
end_if_just_battled
|
|
opentext
|
|
writetext PokefanmRobertAfterBattleText
|
|
waitbutton
|
|
closetext
|
|
end
|
|
|
|
Route10Sign:
|
|
jumptext Route10SignText
|
|
|
|
HikerJimSeenText:
|
|
text "Hahahah!"
|
|
done
|
|
|
|
HikerJimBeatenText:
|
|
text "Hahaha-hachoo!"
|
|
done
|
|
|
|
HikerJimAfterBattleText:
|
|
text "Hay fever is"
|
|
line "making me sneeze!"
|
|
cont "Ahahah-CHOO!"
|
|
done
|
|
|
|
PokefanmRobertSeenText:
|
|
text "You like #MON,"
|
|
line "don't you?"
|
|
|
|
para "Me too!"
|
|
done
|
|
|
|
PokefanmRobertBeatenText:
|
|
text "I'd have to say"
|
|
line "that's my loss."
|
|
done
|
|
|
|
PokefanmRobertAfterBattleText:
|
|
text "Look what you did"
|
|
line "to my #MON…"
|
|
|
|
para "I won't forget"
|
|
line "this…"
|
|
done
|
|
|
|
Route10SignText:
|
|
text "ROUTE 10"
|
|
|
|
para "CERULEAN CITY -"
|
|
line "LAVENDER TOWN"
|
|
done
|
|
|
|
Route10South_MapEventHeader:
|
|
; filler
|
|
db 0, 0
|
|
|
|
.Warps:
|
|
db 1
|
|
warp_def $1, $6, 2, ROCK_TUNNEL_1F
|
|
|
|
.XYTriggers:
|
|
db 0
|
|
|
|
.Signposts:
|
|
db 1
|
|
signpost 3, 5, SIGNPOST_READ, Route10Sign
|
|
|
|
.PersonEvents:
|
|
db 2
|
|
person_event SPRITE_POKEFAN_M, 3, 17, SPRITEMOVEDATA_STANDING_LEFT, 0, 0, -1, -1, PAL_NPC_BROWN, PERSONTYPE_TRAINER, 3, TrainerHikerJim, -1
|
|
person_event SPRITE_POKEFAN_M, 10, 8, SPRITEMOVEDATA_SPINRANDOM_FAST, 0, 0, -1, -1, PAL_NPC_RED, PERSONTYPE_TRAINER, 3, TrainerPokefanmRobert, -1
|