pokecrystal-board/maps/Route4.asm

146 lines
2.8 KiB
NASM
Raw Normal View History

2015-11-26 21:22:14 -08:00
const_value set 2
const ROUTE4_YOUNGSTER
const ROUTE4_LASS1
const ROUTE4_LASS2
const ROUTE4_POKE_BALL
2015-07-10 01:20:21 -07:00
Route4_MapScriptHeader:
.SceneScripts:
db 0
.MapCallbacks:
db 0
2015-07-10 01:20:21 -07:00
TrainerBird_keeperHank:
2017-12-17 17:45:04 -08:00
trainer EVENT_BEAT_BIRD_KEEPER_HANK, BIRD_KEEPER, HANK, Bird_keeperHankSeenText, Bird_keeperHankBeatenText, 0, .Script
2017-12-17 17:45:04 -08:00
.Script:
2015-11-25 07:16:29 -08:00
end_if_just_battled
2015-12-09 15:25:44 -08:00
opentext
2017-12-10 12:36:58 -08:00
writetext Bird_keeperHankAfterBattleText
2015-11-25 07:16:29 -08:00
waitbutton
closetext
end
2015-07-10 01:20:21 -07:00
TrainerPicnickerHope:
2017-12-17 17:45:04 -08:00
trainer EVENT_BEAT_PICNICKER_HOPE, PICNICKER, HOPE, PicnickerHopeSeenText, PicnickerHopeBeatenText, 0, .Script
2017-12-17 17:45:04 -08:00
.Script:
2015-11-25 07:16:29 -08:00
end_if_just_battled
2015-12-09 15:25:44 -08:00
opentext
2017-12-10 12:36:58 -08:00
writetext PicnickerHopeAfterBattleText
2015-11-25 07:16:29 -08:00
waitbutton
closetext
end
2015-07-10 01:20:21 -07:00
TrainerPicnickerSharon:
2017-12-17 17:45:04 -08:00
trainer EVENT_BEAT_PICNICKER_SHARON, PICNICKER, SHARON, PicnickerSharonSeenText, PicnickerSharonBeatenText, 0, .Script
2017-12-17 17:45:04 -08:00
.Script:
2015-11-25 07:16:29 -08:00
end_if_just_battled
2015-12-09 15:25:44 -08:00
opentext
2017-12-10 12:36:58 -08:00
writetext PicnickerSharonAfterBattleText
2015-11-25 07:16:29 -08:00
waitbutton
closetext
end
2016-04-06 21:59:45 -07:00
MtMoonSquareSign:
jumptext MtMoonSquareSignText
2015-12-15 07:55:56 -08:00
Route4HPUp:
itemball HP_UP
Route4HiddenUltraBall:
dwb EVENT_ROUTE_4_HIDDEN_ULTRA_BALL, ULTRA_BALL
2015-07-10 01:20:21 -07:00
Bird_keeperHankSeenText:
text "I'm raising my"
line "#MON. Want to"
cont "battle with me?"
done
2015-07-10 01:20:21 -07:00
Bird_keeperHankBeatenText:
text "Ack! I lost that"
line "one…"
done
2017-12-10 12:36:58 -08:00
Bird_keeperHankAfterBattleText:
text "If you have a"
line "specific #MON"
para "that you want to"
line "raise, put it out"
para "first, then switch"
line "it right away."
para "That's how to do"
line "it."
done
2015-07-10 01:20:21 -07:00
PicnickerHopeSeenText:
text "I have a feeling"
line "that I can win."
para "Let's see if I'm"
line "right!"
done
2015-07-10 01:20:21 -07:00
PicnickerHopeBeatenText:
text "Aww, you are too"
line "strong."
done
2017-12-10 12:36:58 -08:00
PicnickerHopeAfterBattleText:
text "I heard CLEFAIRY"
line "appear at MT.MOON."
para "But where could"
line "they be?"
done
2015-07-10 01:20:21 -07:00
PicnickerSharonSeenText:
text "Um…"
line "I…"
done
2015-07-10 01:20:21 -07:00
PicnickerSharonBeatenText:
text "…"
done
2017-12-10 12:36:58 -08:00
PicnickerSharonAfterBattleText:
text "……I'll go train"
line "some more…"
done
2016-04-06 21:59:45 -07:00
MtMoonSquareSignText:
text "MT.MOON SQUARE"
para "Just go up the"
line "stairs."
done
2015-07-10 01:20:21 -07:00
Route4_MapEventHeader:
; filler
db 0, 0
.Warps:
db 1
warp_def $5, $2, 2, MOUNT_MOON
.CoordEvents:
db 0
.BGEvents:
db 2
bg_event 7, 3, BGEVENT_READ, MtMoonSquareSign
bg_event 3, 10, BGEVENT_ITEM, Route4HiddenUltraBall
.ObjectEvents:
db 4
object_event SPRITE_YOUNGSTER, 9, 17, SPRITEMOVEDATA_STANDING_DOWN, 0, 0, -1, -1, PAL_NPC_BLUE, OBJECTTYPE_TRAINER, 3, TrainerBird_keeperHank, -1
object_event SPRITE_LASS, 8, 9, SPRITEMOVEDATA_STANDING_LEFT, 0, 0, -1, -1, PAL_NPC_GREEN, OBJECTTYPE_TRAINER, 4, TrainerPicnickerHope, -1
object_event SPRITE_LASS, 6, 21, SPRITEMOVEDATA_STANDING_RIGHT, 0, 0, -1, -1, PAL_NPC_GREEN, OBJECTTYPE_TRAINER, 4, TrainerPicnickerSharon, -1
object_event SPRITE_POKE_BALL, 3, 26, SPRITEMOVEDATA_ITEM_TREE, 0, 0, -1, -1, 0, OBJECTTYPE_ITEMBALL, 0, Route4HPUp, EVENT_ROUTE_4_HP_UP