pokecrystal-board/maps/SproutTower3F.asm

362 lines
7.0 KiB
NASM
Raw Normal View History

2015-11-26 21:22:14 -08:00
const_value set 2
const SPROUTTOWER3F_SAGE1
const SPROUTTOWER3F_SAGE2
const SPROUTTOWER3F_SAGE3
const SPROUTTOWER3F_SAGE4
const SPROUTTOWER3F_POKE_BALL1
const SPROUTTOWER3F_POKE_BALL2
const SPROUTTOWER3F_SILVER
2015-07-10 01:20:21 -07:00
SproutTower3F_MapScriptHeader:
.SceneScripts:
db 2
scene_script .DummyScene0
scene_script .DummyScene1
.MapCallbacks:
db 0
.DummyScene0:
end
.DummyScene1:
end
2015-07-10 01:20:21 -07:00
UnknownScript_0x184947:
spriteface PLAYER, UP
showemote EMOTE_SHOCK, PLAYER, 15
special Special_FadeOutMusic
playsound SFX_TACKLE
playsound SFX_ELEVATOR
earthquake 79
pause 15
playsound SFX_TACKLE
playsound SFX_ELEVATOR
earthquake 79
applymovement PLAYER, MovementData_0x184a1d
2015-11-26 21:22:14 -08:00
applymovement SPROUTTOWER3F_SILVER, MovementData_0x184a22
2015-12-09 15:25:44 -08:00
opentext
2015-01-20 00:01:23 -08:00
writetext UnknownText_0x184a27
2015-11-25 07:16:29 -08:00
waitbutton
closetext
2015-11-26 21:22:14 -08:00
showemote EMOTE_SHOCK, SPROUTTOWER3F_SILVER, 15
spriteface SPROUTTOWER3F_SILVER, DOWN
pause 15
2015-11-26 21:22:14 -08:00
applymovement SPROUTTOWER3F_SILVER, MovementData_0x184a24
playmusic MUSIC_RIVAL_ENCOUNTER
2015-12-09 15:25:44 -08:00
opentext
2015-01-20 00:01:23 -08:00
writetext UnknownText_0x184aec
2015-11-25 07:16:29 -08:00
waitbutton
closetext
2015-11-26 21:22:14 -08:00
spriteface SPROUTTOWER3F_SILVER, UP
2015-12-09 15:25:44 -08:00
opentext
2015-01-20 00:01:23 -08:00
writetext UnknownText_0x184bc8
pause 15
2015-11-25 07:16:29 -08:00
closetext
playsound SFX_WARP_TO
special Special_FadeBlackQuickly
special Special_ReloadSpritesNoPalettes
2015-11-26 21:22:14 -08:00
disappear SPROUTTOWER3F_SILVER
2015-11-25 07:16:29 -08:00
waitsfx
2015-11-26 18:05:32 -08:00
special Special_FadeInQuickly
setscene $1
special RestartMapMusic
end
2015-07-10 01:20:21 -07:00
SageLiScript:
faceplayer
2015-12-09 15:25:44 -08:00
opentext
2013-09-24 00:48:58 -07:00
checkevent EVENT_GOT_HM05_FLASH
iftrue UnknownScript_0x1849d1
2015-01-20 00:01:23 -08:00
writetext SageLiSeenText
2015-11-25 07:16:29 -08:00
waitbutton
closetext
2015-11-02 11:37:02 -08:00
winlosstext SageLiBeatenText, 0
loadtrainer SAGE, LI
startbattle
reloadmapafterbattle
2015-12-09 15:25:44 -08:00
opentext
2015-01-20 00:01:23 -08:00
writetext UnknownText_0x184cc2
2015-11-29 19:29:45 -08:00
buttonsound
2015-11-04 17:20:14 -08:00
verbosegiveitem HM_FLASH
2013-09-24 00:48:58 -07:00
setevent EVENT_GOT_HM05_FLASH
setevent EVENT_BEAT_SAGE_LI
2015-01-20 00:01:23 -08:00
writetext UnknownText_0x184d13
2015-11-25 07:16:29 -08:00
waitbutton
closetext
end
2015-07-10 01:20:21 -07:00
UnknownScript_0x1849d1:
2015-01-20 00:01:23 -08:00
writetext UnknownText_0x184d88
2015-11-25 07:16:29 -08:00
waitbutton
closetext
end
2015-07-10 01:20:21 -07:00
TrainerSageJin:
2017-12-17 17:45:04 -08:00
trainer EVENT_BEAT_SAGE_JIN, SAGE, JIN, SageJinSeenText, SageJinBeatenText, 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 SageJinAfterBattleText
2015-11-25 07:16:29 -08:00
waitbutton
closetext
end
2015-07-10 01:20:21 -07:00
TrainerSageTroy:
2017-12-17 17:45:04 -08:00
trainer EVENT_BEAT_SAGE_TROY, SAGE, TROY, SageTroySeenText, SageTroyBeatenText, 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 SageTroyAfterBattleText
2015-11-25 07:16:29 -08:00
waitbutton
closetext
end
2015-07-10 01:20:21 -07:00
TrainerSageNeal:
2017-12-17 17:45:04 -08:00
trainer EVENT_BEAT_SAGE_NEAL, SAGE, NEAL, SageNealSeenText, SageNealBeatenText, 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 SageNealAfterBattleText
2015-11-25 07:16:29 -08:00
waitbutton
closetext
end
2015-07-10 01:20:21 -07:00
MapSproutTower3FSignpost3Script:
jumptext UnknownText_0x184f37
2015-07-10 01:20:21 -07:00
MapSproutTower3FSignpost5Script:
jumptext UnknownText_0x184f61
2015-12-15 07:55:56 -08:00
SproutTower3FPotion:
itemball POTION
2015-12-15 07:55:56 -08:00
SproutTower3FEscapeRope:
itemball ESCAPE_ROPE
2015-07-10 01:20:21 -07:00
MovementData_0x184a1d:
2016-05-14 10:46:14 -07:00
step UP
step UP
step UP
step UP
step_end
2015-07-10 01:20:21 -07:00
MovementData_0x184a22:
2016-05-14 10:46:14 -07:00
step UP
step_end
2015-07-10 01:20:21 -07:00
MovementData_0x184a24:
2016-05-14 10:46:14 -07:00
step RIGHT
step DOWN
step_end
2015-07-10 01:20:21 -07:00
UnknownText_0x184a27:
text "ELDER: You are in-"
line "deed skilled as a"
cont "trainer."
para "As promised, here"
line "is your HM."
para "But let me say"
line "this: You should"
para "treat your"
line "#MON better."
para "The way you battle"
line "is far too harsh."
para "#MON are not"
line "tools of war…"
done
2015-07-10 01:20:21 -07:00
UnknownText_0x184aec:
text "…"
line "…Humph!"
para "He claims to be"
line "the ELDER but"
cont "he's weak."
para "It stands to"
line "reason."
para "I'd never lose to"
line "fools who babble"
para "about being nice"
line "to #MON."
para "I only care about"
line "strong #MON"
cont "that can win."
para "I really couldn't"
line "care less about"
cont "weak #MON."
done
2015-07-10 01:20:21 -07:00
UnknownText_0x184bc8:
text "<RIVAL> used an"
line "ESCAPE ROPE!"
done
2015-07-10 01:20:21 -07:00
SageLiSeenText:
text "So good of you to"
line "come here!"
para "SPROUT TOWER is a"
line "place of training."
para "People and #MON"
line "test their bonds"
para "to build a bright"
line "future together."
para "I am the final"
line "test."
para "Allow me to check"
line "the ties between"
para "your #MON and"
line "you!"
done
2015-07-10 01:20:21 -07:00
SageLiBeatenText:
text "Ah, excellent!"
done
2015-07-10 01:20:21 -07:00
UnknownText_0x184cc2:
text "You and your #-"
line "MON should have"
para "no problem using"
line "this move."
para "Take this FLASH"
line "HM."
done
2015-07-10 01:20:21 -07:00
UnknownText_0x184d13:
text "FLASH illuminates"
line "even the darkest"
cont "of all places."
para "But to use it out"
line "of battle, you"
para "need the BADGE"
line "from VIOLET's GYM."
done
2015-07-10 01:20:21 -07:00
UnknownText_0x184d88:
text "I hope you learn"
line "and grow from your"
cont "journey."
done
2015-07-10 01:20:21 -07:00
SageJinSeenText:
text "I train to find"
line "enlightenment in"
cont "#MON!"
done
2015-07-10 01:20:21 -07:00
SageJinBeatenText:
text "My training is"
line "incomplete…"
done
2017-12-10 12:36:58 -08:00
SageJinAfterBattleText:
text "As #MON grow"
line "stronger, so does"
cont "the trainer."
para "No, wait. As the"
line "trainer grows"
para "stronger, so do"
line "the #MON."
done
2015-07-10 01:20:21 -07:00
SageTroySeenText:
text "Let me see how"
line "much you trust"
cont "your #MON."
done
2015-07-10 01:20:21 -07:00
SageTroyBeatenText:
text "Yes, your trust is"
line "real!"
done
2017-12-10 12:36:58 -08:00
SageTroyAfterBattleText:
text "It is not far to"
line "the ELDER."
done
2015-07-10 01:20:21 -07:00
SageNealSeenText:
text "The ELDER's HM"
line "lights even pitch-"
cont "black darkness."
done
2015-07-10 01:20:21 -07:00
SageNealBeatenText:
text "It is my head that"
line "is bright!"
done
2017-12-10 12:36:58 -08:00
SageNealAfterBattleText:
text "Let there be light"
line "on your journey."
done
2015-07-10 01:20:21 -07:00
UnknownText_0x184f37:
text "It's a powerful"
line "painting of a"
cont "BELLSPROUT."
done
2015-07-10 01:20:21 -07:00
UnknownText_0x184f61:
text "A #MON statue…"
para "It looks very"
line "distinguished."
done
2015-07-10 01:20:21 -07:00
SproutTower3F_MapEventHeader:
; filler
db 0, 0
.Warps:
db 1
warp_def $e, $a, 4, SPROUT_TOWER_2F
.CoordEvents:
db 1
coord_event 0, $9, $b, UnknownScript_0x184947
.BGEvents:
db 6
bg_event 1, 8, BGEVENT_READ, MapSproutTower3FSignpost5Script
bg_event 1, 11, BGEVENT_READ, MapSproutTower3FSignpost5Script
bg_event 0, 9, BGEVENT_READ, MapSproutTower3FSignpost3Script
bg_event 0, 10, BGEVENT_READ, MapSproutTower3FSignpost3Script
bg_event 15, 5, BGEVENT_READ, MapSproutTower3FSignpost5Script
bg_event 15, 14, BGEVENT_READ, MapSproutTower3FSignpost5Script
.ObjectEvents:
db 7
object_event SPRITE_SAGE, 13, 8, SPRITEMOVEDATA_STANDING_RIGHT, 0, 0, -1, -1, PAL_NPC_BLUE, OBJECTTYPE_TRAINER, 3, TrainerSageJin, -1
object_event SPRITE_SAGE, 8, 8, SPRITEMOVEDATA_STANDING_DOWN, 0, 0, -1, -1, PAL_NPC_BLUE, OBJECTTYPE_TRAINER, 2, TrainerSageTroy, -1
object_event SPRITE_SAGE, 2, 10, SPRITEMOVEDATA_STANDING_DOWN, 0, 0, -1, -1, PAL_NPC_BLUE, OBJECTTYPE_SCRIPT, 0, SageLiScript, -1
object_event SPRITE_SAGE, 11, 11, SPRITEMOVEDATA_STANDING_LEFT, 0, 0, -1, -1, PAL_NPC_BLUE, OBJECTTYPE_TRAINER, 3, TrainerSageNeal, -1
object_event SPRITE_POKE_BALL, 14, 6, SPRITEMOVEDATA_ITEM_TREE, 0, 0, -1, -1, 0, OBJECTTYPE_ITEMBALL, 0, SproutTower3FPotion, EVENT_SPROUT_TOWER_3F_POTION
object_event SPRITE_POKE_BALL, 1, 14, SPRITEMOVEDATA_ITEM_TREE, 0, 0, -1, -1, 0, OBJECTTYPE_ITEMBALL, 0, SproutTower3FEscapeRope, EVENT_SPROUT_TOWER_3F_ESCAPE_ROPE
object_event SPRITE_SILVER, 4, 10, SPRITEMOVEDATA_STANDING_UP, 0, 0, -1, -1, 0, OBJECTTYPE_SCRIPT, 0, ObjectEvent, EVENT_RIVAL_SPROUT_TOWER