pokecrystal/maps/MountMoon.asm

180 lines
3.4 KiB
NASM
Raw Normal View History

2018-01-31 16:38:45 +00:00
const_def 2 ; object constants
2015-11-27 05:22:14 +00:00
const MOUNTMOON_SILVER
MountMoon_MapScripts:
db 2 ; scene scripts
scene_script .RivalEncounter
scene_script .DummyScene
db 0 ; callbacks
.RivalEncounter:
2015-12-09 16:38:40 +00:00
priorityjump .RivalBattle
end
.DummyScene:
end
2015-12-09 16:38:40 +00:00
.RivalBattle:
spriteface PLAYER, RIGHT
showemote EMOTE_SHOCK, PLAYER, 15
special FadeOutMusic
pause 15
2015-12-09 16:38:40 +00:00
applymovement MOUNTMOON_SILVER, MountMoonSilverMovementBefore
playmusic MUSIC_RIVAL_ENCOUNTER
2015-12-09 23:25:44 +00:00
opentext
2015-12-09 16:38:40 +00:00
writetext MountMoonSilverTextBefore
2015-11-25 15:16:29 +00:00
waitbutton
closetext
2013-09-24 07:48:58 +00:00
checkevent EVENT_GOT_TOTODILE_FROM_ELM
2015-12-09 16:38:40 +00:00
iftrue .Totodile
2013-09-24 07:48:58 +00:00
checkevent EVENT_GOT_CHIKORITA_FROM_ELM
2015-12-09 16:38:40 +00:00
iftrue .Chikorita
winlosstext MountMoonSilverTextWin, MountMoonSilverTextLoss
setlasttalked MOUNTMOON_SILVER
loadtrainer RIVAL2, RIVAL2_1_TOTODILE
startbattle
dontrestartmapmusic
reloadmapafterbattle
2015-12-09 16:38:40 +00:00
jump .FinishBattle
2015-12-09 16:38:40 +00:00
.Totodile:
winlosstext MountMoonSilverTextWin, MountMoonSilverTextLoss
setlasttalked MOUNTMOON_SILVER
loadtrainer RIVAL2, RIVAL2_1_CHIKORITA
startbattle
dontrestartmapmusic
reloadmapafterbattle
2015-12-09 16:38:40 +00:00
jump .FinishBattle
2015-12-09 16:38:40 +00:00
.Chikorita:
winlosstext MountMoonSilverTextWin, MountMoonSilverTextLoss
setlasttalked MOUNTMOON_SILVER
loadtrainer RIVAL2, RIVAL2_1_CYNDAQUIL
startbattle
dontrestartmapmusic
reloadmapafterbattle
2015-12-09 16:38:40 +00:00
jump .FinishBattle
2015-12-09 16:38:40 +00:00
.FinishBattle:
playmusic MUSIC_RIVAL_AFTER
2015-12-09 23:25:44 +00:00
opentext
2015-12-09 16:38:40 +00:00
writetext MountMoonSilverTextAfter
2015-11-25 15:16:29 +00:00
waitbutton
closetext
2015-12-09 16:38:40 +00:00
applymovement MOUNTMOON_SILVER, MountMoonSilverMovementAfter
2015-11-27 05:22:14 +00:00
disappear MOUNTMOON_SILVER
setscene 1
2013-09-24 07:48:58 +00:00
setevent EVENT_BEAT_RIVAL_IN_MT_MOON
playmapmusic
end
2015-12-09 16:38:40 +00:00
MountMoonSilverMovementBefore:
2016-05-14 17:46:14 +00:00
step LEFT
step LEFT
step LEFT
step_end
2015-12-09 16:38:40 +00:00
MountMoonSilverMovementAfter:
2016-05-14 17:46:14 +00:00
step RIGHT
step RIGHT
step DOWN
step DOWN
step DOWN
step DOWN
step DOWN
step_end
2015-12-09 16:38:40 +00:00
MountMoonSilverTextBefore:
2018-01-19 07:30:19 +00: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 16:38:40 +00:00
MountMoonSilverTextWin:
2018-01-19 07:30:19 +00: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 16:38:40 +00:00
MountMoonSilverTextAfter:
2018-01-19 07:30:19 +00: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 16:38:40 +00:00
MountMoonSilverTextLoss:
2018-01-19 07:30:19 +00: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
MountMoon_MapEvents:
db 0, 0 ; filler
db 8 ; warp events
warp_event 3, 3, 1, ROUTE_3
warp_event 15, 15, 1, ROUTE_4
warp_event 13, 3, 7, MOUNT_MOON
warp_event 15, 11, 8, MOUNT_MOON
warp_event 25, 5, 1, MOUNT_MOON_SQUARE
warp_event 25, 15, 2, MOUNT_MOON_SQUARE
warp_event 25, 3, 3, MOUNT_MOON
warp_event 25, 13, 4, MOUNT_MOON
db 0 ; coord events
db 0 ; bg events
db 1 ; object events
object_event 7, 3, SPRITE_SILVER, SPRITEMOVEDATA_STANDING_LEFT, 0, 0, -1, -1, 0, OBJECTTYPE_SCRIPT, 0, ObjectEvent, EVENT_MT_MOON_RIVAL