pokecrystal/maps/Route6.asm

108 lines
2.3 KiB
NASM
Raw Normal View History

2018-01-31 16:08:47 +00:00
const_value set 2 ; object constants
2015-11-27 05:22:14 +00:00
const ROUTE6_POKEFAN_M1
const ROUTE6_POKEFAN_M2
const ROUTE6_POKEFAN_M3
Route6_MapScripts:
db 0 ; scene scripts
db 0 ; callbacks
2015-07-10 08:20:21 +00:00
TrainerPokefanmRex:
trainer POKEFANM, REX, EVENT_BEAT_POKEFANM_REX, PokefanmRexSeenText, PokefanmRexBeatenText, 0, .Script
2017-12-18 01:45:04 +00:00
.Script:
2015-11-25 15:16:29 +00:00
end_if_just_battled
2015-12-09 23:25:44 +00:00
opentext
2017-12-10 20:36:58 +00:00
writetext PokefanmRexAfterBattleText
2015-11-25 15:16:29 +00:00
waitbutton
closetext
end
2015-07-10 08:20:21 +00:00
TrainerPokefanmAllan:
trainer POKEFANM, ALLAN, EVENT_BEAT_POKEFANM_ALLAN, PokefanmAllanSeenText, PokefanmAllanBeatenText, 0, .Script
2017-12-18 01:45:04 +00:00
.Script:
2015-11-25 15:16:29 +00:00
end_if_just_battled
2015-12-09 23:25:44 +00:00
opentext
2017-12-10 20:36:58 +00:00
writetext PokefanmAllanAfterBattleText
2015-11-25 15:16:29 +00:00
waitbutton
closetext
end
2017-12-18 00:48:04 +00:00
Route6PokefanMScript:
jumptextfaceplayer Route6PokefanMText
2016-04-07 04:59:45 +00:00
Route6UndergroundPathSign:
jumptext Route6UndergroundPathSignText
2017-12-18 00:48:04 +00:00
Route6PokefanMText:
text "The road is closed"
line "until the problem"
para "at the POWER PLANT"
line "is solved."
done
2016-04-07 04:59:45 +00:00
Route6UndergroundPathSignText:
text "UNDERGROUND PATH"
para "CERULEAN CITY -"
line "VERMILION CITY"
done
2015-07-10 08:20:21 +00:00
PokefanmRexSeenText:
text "My PHANPY is the"
line "cutest in the"
cont "world."
done
2015-07-10 08:20:21 +00:00
PokefanmRexBeatenText:
text "My PHANPY!"
done
2017-12-10 20:36:58 +00:00
PokefanmRexAfterBattleText:
text "Look how adorable"
line "my PHANPY acts!"
para "Isn't it cute"
line "enough to make"
cont "your heart melt?"
done
2015-07-10 08:20:21 +00:00
PokefanmAllanSeenText:
text "My TEDDIURSA is"
line "the cutest in the"
cont "world."
done
2015-07-10 08:20:21 +00:00
PokefanmAllanBeatenText:
text "My TEDDIURSA!"
done
2017-12-10 20:36:58 +00:00
PokefanmAllanAfterBattleText:
text "Look how adorable"
line "my TEDDIURSA acts!"
para "Isn't it cute"
line "enough to make"
cont "your heart melt?"
done
Route6_MapEvents:
db 0, 0 ; filler
db 2 ; warp events
warp_event 17, 3, 1, ROUTE_6_UNDERGROUND_PATH_ENTRANCE
warp_event 6, 1, 3, ROUTE_6_SAFFRON_GATE
db 0 ; coord events
db 1 ; bg events
bg_event 19, 5, BGEVENT_READ, Route6UndergroundPathSign
db 3 ; object events
object_event 17, 4, SPRITE_POKEFAN_M, SPRITEMOVEDATA_STANDING_DOWN, 0, 0, -1, -1, PAL_NPC_BROWN, OBJECTTYPE_SCRIPT, 2, Route6PokefanMScript, EVENT_ROUTE_5_6_POKEFAN_M_BLOCKS_UNDERGROUND_PATH
object_event 9, 12, SPRITE_POKEFAN_M, SPRITEMOVEDATA_STANDING_RIGHT, 0, 0, -1, -1, PAL_NPC_RED, OBJECTTYPE_TRAINER, 0, TrainerPokefanmRex, -1
object_event 10, 12, SPRITE_POKEFAN_M, SPRITEMOVEDATA_STANDING_LEFT, 0, 0, -1, -1, PAL_NPC_RED, OBJECTTYPE_TRAINER, 0, TrainerPokefanmAllan, -1