pokecrystal-board/maps/VictoryRoad.asm

276 lines
5.8 KiB
NASM
Raw Normal View History

2015-11-26 21:22:14 -08:00
const_value set 2
const VICTORYROAD_SILVER
const VICTORYROAD_POKE_BALL1
const VICTORYROAD_POKE_BALL2
const VICTORYROAD_POKE_BALL3
const VICTORYROAD_POKE_BALL4
const VICTORYROAD_POKE_BALL5
VictoryRoad_MapScripts:
.SceneScripts:
db 2
scene_script .DummyScene0
scene_script .DummyScene1
.MapCallbacks:
db 0
.DummyScene0:
end
.DummyScene1:
end
VictoryRoadRival0:
moveobject VICTORYROAD_SILVER, 18, 11
spriteface PLAYER, DOWN
showemote EMOTE_SHOCK, PLAYER, 15
special Special_FadeOutMusic
pause 15
2015-11-26 21:22:14 -08:00
appear VICTORYROAD_SILVER
applymovement VICTORYROAD_SILVER, MovementData_0x74539
scall VictoryRoadRivalNext
2015-11-26 21:22:14 -08:00
applymovement VICTORYROAD_SILVER, MovementData_0x7454c
disappear VICTORYROAD_SILVER
setscene 1
playmapmusic
end
VictoryRoadRival1:
spriteface PLAYER, DOWN
showemote EMOTE_SHOCK, PLAYER, 15
special Special_FadeOutMusic
pause 15
2015-11-26 21:22:14 -08:00
appear VICTORYROAD_SILVER
applymovement VICTORYROAD_SILVER, MovementData_0x74542
scall VictoryRoadRivalNext
2015-11-26 21:22:14 -08:00
applymovement VICTORYROAD_SILVER, MovementData_0x74555
disappear VICTORYROAD_SILVER
setscene 1
playmapmusic
end
VictoryRoadRivalNext:
spriteface PLAYER, DOWN
playmusic MUSIC_RIVAL_ENCOUNTER
2015-12-09 15:25:44 -08:00
opentext
writetext VictoryRoadRivalBeforeText
2015-11-25 07:16:29 -08:00
waitbutton
closetext
setevent EVENT_RIVAL_VICTORY_ROAD
2013-09-24 00:48:58 -07:00
checkevent EVENT_GOT_TOTODILE_FROM_ELM
iftrue .GotTotodile
2013-09-24 00:48:58 -07:00
checkevent EVENT_GOT_CHIKORITA_FROM_ELM
iftrue .GotChikorita
winlosstext VictoryRoadRivalDefeatText, VictoryRoadRivalVictoryText
2015-12-09 08:38:40 -08:00
setlasttalked VICTORYROAD_SILVER
loadtrainer RIVAL1, RIVAL1_5_TOTODILE
startbattle
dontrestartmapmusic
reloadmapafterbattle
jump .AfterBattle
.GotTotodile:
winlosstext VictoryRoadRivalDefeatText, VictoryRoadRivalVictoryText
2015-12-09 08:38:40 -08:00
setlasttalked VICTORYROAD_SILVER
loadtrainer RIVAL1, RIVAL1_5_CHIKORITA
startbattle
dontrestartmapmusic
reloadmapafterbattle
jump .AfterBattle
.GotChikorita:
winlosstext VictoryRoadRivalDefeatText, VictoryRoadRivalVictoryText
2015-12-09 08:38:40 -08:00
setlasttalked VICTORYROAD_SILVER
loadtrainer RIVAL1, RIVAL1_5_CYNDAQUIL
startbattle
dontrestartmapmusic
reloadmapafterbattle
jump .AfterBattle
.AfterBattle:
playmusic MUSIC_RIVAL_AFTER
2015-12-09 15:25:44 -08:00
opentext
writetext VictoryRoadRivalAfterText
2015-11-25 07:16:29 -08:00
waitbutton
closetext
end
2015-12-15 07:55:56 -08:00
VictoryRoadTMEarthquake:
itemball TM_EARTHQUAKE
2015-12-15 07:55:56 -08:00
VictoryRoadMaxRevive:
itemball MAX_REVIVE
2015-12-15 07:55:56 -08:00
VictoryRoadFullRestore:
itemball FULL_RESTORE
2015-12-15 07:55:56 -08:00
VictoryRoadFullHeal:
itemball FULL_HEAL
2015-12-15 07:55:56 -08:00
VictoryRoadHPUp:
itemball HP_UP
VictoryRoadHiddenMaxPotion:
hiddenitem EVENT_VICTORY_ROAD_HIDDEN_MAX_POTION, MAX_POTION
VictoryRoadHiddenFullHeal:
hiddenitem EVENT_VICTORY_ROAD_HIDDEN_FULL_HEAL, FULL_HEAL
2015-07-10 01:45:35 -07:00
MovementData_0x74539:
2016-05-14 10:46:14 -07:00
step LEFT
step LEFT
step LEFT
step LEFT
step LEFT
step LEFT
step UP
step UP
step_end
2015-07-10 01:45:35 -07:00
MovementData_0x74542:
2016-05-14 10:46:14 -07:00
step UP
step UP
step LEFT
step LEFT
step LEFT
step LEFT
step LEFT
step UP
step UP
step_end
2015-07-10 01:45:35 -07:00
MovementData_0x7454c:
2016-05-14 10:46:14 -07:00
step DOWN
step DOWN
step RIGHT
step RIGHT
step RIGHT
step RIGHT
step RIGHT
step RIGHT
step_end
2015-07-10 01:45:35 -07:00
MovementData_0x74555:
2016-05-14 10:46:14 -07:00
step DOWN
step DOWN
step RIGHT
step RIGHT
step RIGHT
step RIGHT
step RIGHT
step DOWN
step DOWN
step_end
VictoryRoadRivalBeforeText:
text "Hold it."
para "…Are you going to"
line "take the #MON"
cont "LEAGUE challenge?"
para "…Don't make me"
line "laugh."
para "You're so much"
line "weaker than I am."
para "I'm not like I was"
line "before."
para "I now have the"
line "best and strongest"
para "#MON with me."
line "I'm invincible!"
para "<PLAYER>!"
line "I challenge you!"
done
VictoryRoadRivalDefeatText:
text "…I couldn't win…"
para "I gave it every-"
line "thing I had…"
para "What you possess,"
line "and what I lack…"
para "I'm beginning to"
line "understand what"
para "that dragon master"
line "said to me…"
done
VictoryRoadRivalAfterText:
text "…I haven't given up"
line "on becoming the"
cont "greatest trainer…"
para "I'm going to find"
line "out why I can't"
para "win and become"
line "stronger…"
para "When I do, I will"
line "challenge you."
para "And I'll beat you"
line "down with all my"
cont "power."
para "…Humph! You keep"
line "at it until then."
done
VictoryRoadRivalVictoryText:
text "…Humph!"
para "When it comes down"
line "to it, nothing can"
cont "beat power."
para "I don't need any-"
line "thing else."
done
VictoryRoad_MapEvents:
; filler
db 0, 0
.Warps:
db 10
warp_def 9, 67, 5, VICTORY_ROAD_GATE
warp_def 1, 49, 3, VICTORY_ROAD
warp_def 1, 35, 2, VICTORY_ROAD
warp_def 13, 31, 5, VICTORY_ROAD
warp_def 13, 17, 4, VICTORY_ROAD
warp_def 17, 33, 7, VICTORY_ROAD
warp_def 17, 19, 6, VICTORY_ROAD
warp_def 0, 11, 9, VICTORY_ROAD
warp_def 0, 27, 8, VICTORY_ROAD
warp_def 13, 5, 3, ROUTE_23
.CoordEvents:
db 2
coord_event 12, 8, 0, VictoryRoadRival0
coord_event 13, 8, 0, VictoryRoadRival1
.BGEvents:
db 2
bg_event 3, 29, BGEVENT_ITEM, VictoryRoadHiddenMaxPotion
bg_event 3, 65, BGEVENT_ITEM, VictoryRoadHiddenFullHeal
.ObjectEvents:
db 6
object_event 18, 13, SPRITE_SILVER, SPRITEMOVEDATA_STANDING_UP, 0, 0, -1, -1, 0, OBJECTTYPE_SCRIPT, 0, ObjectEvent, EVENT_RIVAL_VICTORY_ROAD
object_event 3, 28, SPRITE_POKE_BALL, SPRITEMOVEDATA_ITEM_TREE, 0, 0, -1, -1, 0, OBJECTTYPE_ITEMBALL, 0, VictoryRoadTMEarthquake, EVENT_VICTORY_ROAD_TM_EARTHQUAKE
object_event 12, 48, SPRITE_POKE_BALL, SPRITEMOVEDATA_ITEM_TREE, 0, 0, -1, -1, 0, OBJECTTYPE_ITEMBALL, 0, VictoryRoadMaxRevive, EVENT_VICTORY_ROAD_MAX_REVIVE
object_event 18, 29, SPRITE_POKE_BALL, SPRITEMOVEDATA_ITEM_TREE, 0, 0, -1, -1, 0, OBJECTTYPE_ITEMBALL, 0, VictoryRoadFullRestore, EVENT_VICTORY_ROAD_FULL_RESTORE
object_event 15, 48, SPRITE_POKE_BALL, SPRITEMOVEDATA_ITEM_TREE, 0, 0, -1, -1, 0, OBJECTTYPE_ITEMBALL, 0, VictoryRoadFullHeal, EVENT_VICTORY_ROAD_FULL_HEAL
object_event 7, 38, SPRITE_POKE_BALL, SPRITEMOVEDATA_ITEM_TREE, 0, 0, -1, -1, 0, OBJECTTYPE_ITEMBALL, 0, VictoryRoadHPUp, EVENT_VICTORY_ROAD_HP_UP