pokecrystal-board/maps/MountMoon.asm

189 lines
3.4 KiB
NASM
Raw Normal View History

2015-11-26 21:22:14 -08:00
const_value set 2
const MOUNTMOON_SILVER
2015-07-10 01:45:35 -07:00
MountMoon_MapScriptHeader:
.MapTriggers:
db 2
; triggers
2016-01-05 05:46:37 -08:00
maptrigger .Trigger0
maptrigger .Trigger1
.MapCallbacks:
db 0
2015-12-09 08:38:40 -08:00
.Trigger0:
priorityjump .RivalBattle
end
2015-12-09 08:38:40 -08:00
.Trigger1:
end
2015-12-09 08:38:40 -08:00
.RivalBattle:
spriteface PLAYER, RIGHT
showemote EMOTE_SHOCK, PLAYER, 15
special Special_FadeOutMusic
pause 15
2015-12-09 08:38:40 -08:00
applymovement MOUNTMOON_SILVER, MountMoonSilverMovementBefore
playmusic MUSIC_RIVAL_ENCOUNTER
2015-12-09 15:25:44 -08:00
opentext
2015-12-09 08:38:40 -08:00
writetext MountMoonSilverTextBefore
2015-11-25 07:16:29 -08:00
waitbutton
closetext
2013-09-24 00:48:58 -07:00
checkevent EVENT_GOT_TOTODILE_FROM_ELM
2015-12-09 08:38:40 -08:00
iftrue .Totodile
2013-09-24 00:48:58 -07:00
checkevent EVENT_GOT_CHIKORITA_FROM_ELM
2015-12-09 08:38:40 -08:00
iftrue .Chikorita
winlosstext MountMoonSilverTextWin, MountMoonSilverTextLoss
setlasttalked MOUNTMOON_SILVER
loadtrainer RIVAL2, 3
startbattle
dontrestartmapmusic
reloadmapafterbattle
2015-12-09 08:38:40 -08:00
jump .FinishBattle
2015-12-09 08:38:40 -08:00
.Totodile:
winlosstext MountMoonSilverTextWin, MountMoonSilverTextLoss
setlasttalked MOUNTMOON_SILVER
loadtrainer RIVAL2, 1
startbattle
dontrestartmapmusic
reloadmapafterbattle
2015-12-09 08:38:40 -08:00
jump .FinishBattle
2015-12-09 08:38:40 -08:00
.Chikorita:
winlosstext MountMoonSilverTextWin, MountMoonSilverTextLoss
setlasttalked MOUNTMOON_SILVER
loadtrainer RIVAL2, 2
startbattle
dontrestartmapmusic
reloadmapafterbattle
2015-12-09 08:38:40 -08:00
jump .FinishBattle
2015-12-09 08:38:40 -08:00
.FinishBattle:
playmusic MUSIC_RIVAL_AFTER
2015-12-09 15:25:44 -08:00
opentext
2015-12-09 08:38:40 -08:00
writetext MountMoonSilverTextAfter
2015-11-25 07:16:29 -08:00
waitbutton
closetext
2015-12-09 08:38:40 -08:00
applymovement MOUNTMOON_SILVER, MountMoonSilverMovementAfter
2015-11-26 21:22:14 -08:00
disappear MOUNTMOON_SILVER
dotrigger $1
2013-09-24 00:48:58 -07:00
setevent EVENT_BEAT_RIVAL_IN_MT_MOON
playmapmusic
end
2015-12-09 08:38:40 -08:00
MountMoonSilverMovementBefore:
step_left
step_left
step_left
step_end
2015-12-09 08:38:40 -08:00
MountMoonSilverMovementAfter:
step_right
step_right
step_down
step_down
step_down
step_down
step_down
step_end
2015-12-09 08:38:40 -08:00
MountMoonSilverTextBefore:
2015-11-20 12:18:35 -08:00
text "<......> <......> <......>"
para "It's been a while,"
line "<PLAYER>."
para "…Since I lost to"
line "you, I thought"
para "about what I was"
line "lacking with my"
cont "#MON…"
para "And we came up"
line "with an answer."
para "<PLAYER>, now we'll"
line "show you!"
done
2015-12-09 08:38:40 -08:00
MountMoonSilverTextWin:
2015-11-20 12:18:35 -08:00
text "<......> <......> <......>"
para "I thought I raised"
line "my #MON to be"
para "the best they"
line "could be…"
para "…But it still "
line "wasn't enough…"
done
2015-12-09 08:38:40 -08:00
MountMoonSilverTextAfter:
2015-11-20 12:18:35 -08:00
text "<......> <......> <......>"
para "…You won, fair"
line "and square."
para "I admit it. But"
line "this isn't the"
cont "end."
para "I'm going to be"
line "the greatest #-"
cont "MON trainer ever."
para "Because these guys"
line "are behind me."
para "…Listen, <PLAYER>."
para "One of these days"
line "I'm going to prove"
para "how good I am by"
line "beating you."
done
2015-12-09 08:38:40 -08:00
MountMoonSilverTextLoss:
2015-11-20 12:18:35 -08:00
text "<......> <......> <......>"
para "I've repaid my"
line "debt to you."
para "With my #MON,"
line "I'm going to beat"
para "the CHAMPION and"
line "become the world's"
cont "greatest trainer."
done
2015-07-10 01:45:35 -07:00
MountMoon_MapEventHeader:
; filler
db 0, 0
.Warps:
db 8
warp_def $3, $3, 1, ROUTE_3
warp_def $f, $f, 1, ROUTE_4
warp_def $3, $d, 7, MOUNT_MOON
warp_def $b, $f, 8, MOUNT_MOON
warp_def $5, $19, 1, MOUNT_MOON_SQUARE
warp_def $f, $19, 2, MOUNT_MOON_SQUARE
warp_def $3, $19, 3, MOUNT_MOON
warp_def $d, $19, 4, MOUNT_MOON
.XYTriggers:
db 0
.Signposts:
db 0
.PersonEvents:
db 1
person_event SPRITE_SILVER, 3, 7, SPRITEMOVEDATA_STANDING_LEFT, 0, 0, -1, -1, 0, PERSONTYPE_SCRIPT, 0, ObjectEvent, EVENT_MT_MOON_RIVAL