mirror of
https://github.com/pret/pokecrystal.git
synced 2024-11-23 21:39:53 +00:00
362 lines
7.0 KiB
NASM
362 lines
7.0 KiB
NASM
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
|
|
|
|
SproutTower3F_MapScripts:
|
|
.SceneScripts:
|
|
db 2
|
|
scene_script .DummyScene0
|
|
scene_script .DummyScene1
|
|
|
|
.MapCallbacks:
|
|
db 0
|
|
|
|
.DummyScene0:
|
|
end
|
|
|
|
.DummyScene1:
|
|
end
|
|
|
|
UnknownScript_0x184947:
|
|
spriteface PLAYER, UP
|
|
showemote EMOTE_SHOCK, PLAYER, 15
|
|
special FadeOutMusic
|
|
playsound SFX_TACKLE
|
|
playsound SFX_ELEVATOR
|
|
earthquake 79
|
|
pause 15
|
|
playsound SFX_TACKLE
|
|
playsound SFX_ELEVATOR
|
|
earthquake 79
|
|
applymovement PLAYER, MovementData_0x184a1d
|
|
applymovement SPROUTTOWER3F_SILVER, MovementData_0x184a22
|
|
opentext
|
|
writetext UnknownText_0x184a27
|
|
waitbutton
|
|
closetext
|
|
showemote EMOTE_SHOCK, SPROUTTOWER3F_SILVER, 15
|
|
spriteface SPROUTTOWER3F_SILVER, DOWN
|
|
pause 15
|
|
applymovement SPROUTTOWER3F_SILVER, MovementData_0x184a24
|
|
playmusic MUSIC_RIVAL_ENCOUNTER
|
|
opentext
|
|
writetext UnknownText_0x184aec
|
|
waitbutton
|
|
closetext
|
|
spriteface SPROUTTOWER3F_SILVER, UP
|
|
opentext
|
|
writetext UnknownText_0x184bc8
|
|
pause 15
|
|
closetext
|
|
playsound SFX_WARP_TO
|
|
special FadeBlackQuickly
|
|
special ReloadSpritesNoPalettes
|
|
disappear SPROUTTOWER3F_SILVER
|
|
waitsfx
|
|
special FadeInQuickly
|
|
setscene 1
|
|
special RestartMapMusic
|
|
end
|
|
|
|
SageLiScript:
|
|
faceplayer
|
|
opentext
|
|
checkevent EVENT_GOT_HM05_FLASH
|
|
iftrue UnknownScript_0x1849d1
|
|
writetext SageLiSeenText
|
|
waitbutton
|
|
closetext
|
|
winlosstext SageLiBeatenText, 0
|
|
loadtrainer SAGE, LI
|
|
startbattle
|
|
reloadmapafterbattle
|
|
opentext
|
|
writetext UnknownText_0x184cc2
|
|
buttonsound
|
|
verbosegiveitem HM_FLASH
|
|
setevent EVENT_GOT_HM05_FLASH
|
|
setevent EVENT_BEAT_SAGE_LI
|
|
writetext UnknownText_0x184d13
|
|
waitbutton
|
|
closetext
|
|
end
|
|
|
|
UnknownScript_0x1849d1:
|
|
writetext UnknownText_0x184d88
|
|
waitbutton
|
|
closetext
|
|
end
|
|
|
|
TrainerSageJin:
|
|
trainer SAGE, JIN, EVENT_BEAT_SAGE_JIN, SageJinSeenText, SageJinBeatenText, 0, .Script
|
|
|
|
.Script:
|
|
end_if_just_battled
|
|
opentext
|
|
writetext SageJinAfterBattleText
|
|
waitbutton
|
|
closetext
|
|
end
|
|
|
|
TrainerSageTroy:
|
|
trainer SAGE, TROY, EVENT_BEAT_SAGE_TROY, SageTroySeenText, SageTroyBeatenText, 0, .Script
|
|
|
|
.Script:
|
|
end_if_just_battled
|
|
opentext
|
|
writetext SageTroyAfterBattleText
|
|
waitbutton
|
|
closetext
|
|
end
|
|
|
|
TrainerSageNeal:
|
|
trainer SAGE, NEAL, EVENT_BEAT_SAGE_NEAL, SageNealSeenText, SageNealBeatenText, 0, .Script
|
|
|
|
.Script:
|
|
end_if_just_battled
|
|
opentext
|
|
writetext SageNealAfterBattleText
|
|
waitbutton
|
|
closetext
|
|
end
|
|
|
|
MapSproutTower3FSignpost3Script:
|
|
jumptext UnknownText_0x184f37
|
|
|
|
MapSproutTower3FSignpost5Script:
|
|
jumptext UnknownText_0x184f61
|
|
|
|
SproutTower3FPotion:
|
|
itemball POTION
|
|
|
|
SproutTower3FEscapeRope:
|
|
itemball ESCAPE_ROPE
|
|
|
|
MovementData_0x184a1d:
|
|
step UP
|
|
step UP
|
|
step UP
|
|
step UP
|
|
step_end
|
|
|
|
MovementData_0x184a22:
|
|
step UP
|
|
step_end
|
|
|
|
MovementData_0x184a24:
|
|
step RIGHT
|
|
step DOWN
|
|
step_end
|
|
|
|
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
|
|
|
|
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
|
|
|
|
UnknownText_0x184bc8:
|
|
text "<RIVAL> used an"
|
|
line "ESCAPE ROPE!"
|
|
done
|
|
|
|
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
|
|
|
|
SageLiBeatenText:
|
|
text "Ah, excellent!"
|
|
done
|
|
|
|
UnknownText_0x184cc2:
|
|
text "You and your #-"
|
|
line "MON should have"
|
|
|
|
para "no problem using"
|
|
line "this move."
|
|
|
|
para "Take this FLASH"
|
|
line "HM."
|
|
done
|
|
|
|
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
|
|
|
|
UnknownText_0x184d88:
|
|
text "I hope you learn"
|
|
line "and grow from your"
|
|
cont "journey."
|
|
done
|
|
|
|
SageJinSeenText:
|
|
text "I train to find"
|
|
line "enlightenment in"
|
|
cont "#MON!"
|
|
done
|
|
|
|
SageJinBeatenText:
|
|
text "My training is"
|
|
line "incomplete…"
|
|
done
|
|
|
|
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
|
|
|
|
SageTroySeenText:
|
|
text "Let me see how"
|
|
line "much you trust"
|
|
cont "your #MON."
|
|
done
|
|
|
|
SageTroyBeatenText:
|
|
text "Yes, your trust is"
|
|
line "real!"
|
|
done
|
|
|
|
SageTroyAfterBattleText:
|
|
text "It is not far to"
|
|
line "the ELDER."
|
|
done
|
|
|
|
SageNealSeenText:
|
|
text "The ELDER's HM"
|
|
line "lights even pitch-"
|
|
cont "black darkness."
|
|
done
|
|
|
|
SageNealBeatenText:
|
|
text "It is my head that"
|
|
line "is bright!"
|
|
done
|
|
|
|
SageNealAfterBattleText:
|
|
text "Let there be light"
|
|
line "on your journey."
|
|
done
|
|
|
|
UnknownText_0x184f37:
|
|
text "It's a powerful"
|
|
line "painting of a"
|
|
cont "BELLSPROUT."
|
|
done
|
|
|
|
UnknownText_0x184f61:
|
|
text "A #MON statue…"
|
|
|
|
para "It looks very"
|
|
line "distinguished."
|
|
done
|
|
|
|
SproutTower3F_MapEvents:
|
|
; filler
|
|
db 0, 0
|
|
|
|
.Warps:
|
|
db 1
|
|
warp_def 10, 14, 4, SPROUT_TOWER_2F
|
|
|
|
.CoordEvents:
|
|
db 1
|
|
coord_event 11, 9, 0, UnknownScript_0x184947
|
|
|
|
.BGEvents:
|
|
db 6
|
|
bg_event 8, 1, BGEVENT_READ, MapSproutTower3FSignpost5Script
|
|
bg_event 11, 1, BGEVENT_READ, MapSproutTower3FSignpost5Script
|
|
bg_event 9, 0, BGEVENT_READ, MapSproutTower3FSignpost3Script
|
|
bg_event 10, 0, BGEVENT_READ, MapSproutTower3FSignpost3Script
|
|
bg_event 5, 15, BGEVENT_READ, MapSproutTower3FSignpost5Script
|
|
bg_event 14, 15, BGEVENT_READ, MapSproutTower3FSignpost5Script
|
|
|
|
.ObjectEvents:
|
|
db 7
|
|
object_event 8, 13, SPRITE_SAGE, SPRITEMOVEDATA_STANDING_RIGHT, 0, 0, -1, -1, PAL_NPC_BLUE, OBJECTTYPE_TRAINER, 3, TrainerSageJin, -1
|
|
object_event 8, 8, SPRITE_SAGE, SPRITEMOVEDATA_STANDING_DOWN, 0, 0, -1, -1, PAL_NPC_BLUE, OBJECTTYPE_TRAINER, 2, TrainerSageTroy, -1
|
|
object_event 10, 2, SPRITE_SAGE, SPRITEMOVEDATA_STANDING_DOWN, 0, 0, -1, -1, PAL_NPC_BLUE, OBJECTTYPE_SCRIPT, 0, SageLiScript, -1
|
|
object_event 11, 11, SPRITE_SAGE, SPRITEMOVEDATA_STANDING_LEFT, 0, 0, -1, -1, PAL_NPC_BLUE, OBJECTTYPE_TRAINER, 3, TrainerSageNeal, -1
|
|
object_event 6, 14, SPRITE_POKE_BALL, SPRITEMOVEDATA_ITEM_TREE, 0, 0, -1, -1, 0, OBJECTTYPE_ITEMBALL, 0, SproutTower3FPotion, EVENT_SPROUT_TOWER_3F_POTION
|
|
object_event 14, 1, SPRITE_POKE_BALL, SPRITEMOVEDATA_ITEM_TREE, 0, 0, -1, -1, 0, OBJECTTYPE_ITEMBALL, 0, SproutTower3FEscapeRope, EVENT_SPROUT_TOWER_3F_ESCAPE_ROPE
|
|
object_event 10, 4, SPRITE_SILVER, SPRITEMOVEDATA_STANDING_UP, 0, 0, -1, -1, 0, OBJECTTYPE_SCRIPT, 0, ObjectEvent, EVENT_RIVAL_SPROUT_TOWER
|