pokecrystal-board/maps/SproutTower3F.asm

403 lines
6.8 KiB
NASM
Raw Normal View History

2015-07-10 01:20:21 -07:00
SproutTower3F_MapScriptHeader:
; trigger count
db 2
; triggers
dw UnknownScript_0x184945, $0000
dw UnknownScript_0x184946, $0000
; callback count
db 0
2015-07-10 01:20:21 -07:00
UnknownScript_0x184945:
end
2015-07-10 01:20:21 -07:00
UnknownScript_0x184946:
end
2015-07-10 01:20:21 -07:00
UnknownScript_0x184947:
spriteface $0, UP
showemote EMOTE_SHOCK, $0, 15
special Functionc48f
playsound SFX_TACKLE
playsound SFX_ELEVATOR
earthquake 79
pause 15
playsound SFX_TACKLE
playsound SFX_ELEVATOR
earthquake 79
applymovement $0, MovementData_0x184a1d
applymovement $8, MovementData_0x184a22
loadfont
2015-01-20 00:01:23 -08:00
writetext UnknownText_0x184a27
closetext
loadmovesprites
showemote EMOTE_SHOCK, $8, 15
spriteface $8, DOWN
pause 15
applymovement $8, MovementData_0x184a24
playmusic MUSIC_RIVAL_ENCOUNTER
loadfont
2015-01-20 00:01:23 -08:00
writetext UnknownText_0x184aec
closetext
loadmovesprites
spriteface $8, UP
loadfont
2015-01-20 00:01:23 -08:00
writetext UnknownText_0x184bc8
pause 15
loadmovesprites
playsound SFX_WARP_TO
special Function8c0b6
special Functiond91
disappear $8
waitbutton
special Function8c0ab
dotrigger $1
special RestartMapMusic
end
2015-07-10 01:20:21 -07:00
SageLiScript:
faceplayer
loadfont
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
closetext
loadmovesprites
winlosstext SageLiBeatenText, $0000
loadtrainer SAGE, LI
startbattle
returnafterbattle
loadfont
2015-01-20 00:01:23 -08:00
writetext UnknownText_0x184cc2
keeptextopen
verbosegiveitem HM_FLASH, 1
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
closetext
loadmovesprites
end
2015-07-10 01:20:21 -07:00
UnknownScript_0x1849d1:
2015-01-20 00:01:23 -08:00
writetext UnknownText_0x184d88
closetext
loadmovesprites
end
2015-07-10 01:20:21 -07:00
TrainerSageJin:
; bit/flag number
2015-07-10 01:20:21 -07:00
dw EVENT_BEAT_SAGE_JIN
; trainer group && trainer id
db SAGE, JIN
; text when seen
dw SageJinSeenText
; text when trainer beaten
dw SageJinBeatenText
; script when lost
dw $0000
; script when talk again
dw SageJinScript
2015-07-10 01:20:21 -07:00
SageJinScript:
talkaftercancel
loadfont
2015-01-20 00:01:23 -08:00
writetext UnknownText_0x184dfa
closetext
loadmovesprites
end
2015-07-10 01:20:21 -07:00
TrainerSageTroy:
; bit/flag number
2015-07-10 01:20:21 -07:00
dw EVENT_BEAT_SAGE_TROY
; trainer group && trainer id
db SAGE, TROY
; text when seen
dw SageTroySeenText
; text when trainer beaten
dw SageTroyBeatenText
; script when lost
dw $0000
; script when talk again
dw SageTroyScript
2015-07-10 01:20:21 -07:00
SageTroyScript:
talkaftercancel
loadfont
2015-01-20 00:01:23 -08:00
writetext UnknownText_0x184ea4
closetext
loadmovesprites
end
2015-07-10 01:20:21 -07:00
TrainerSageNeal:
; bit/flag number
2015-07-10 01:20:21 -07:00
dw EVENT_BEAT_SAGE_NEAL
; trainer group && trainer id
db SAGE, NEAL
; text when seen
dw SageNealSeenText
; text when trainer beaten
dw SageNealBeatenText
; script when lost
dw $0000
; script when talk again
dw SageNealScript
2015-07-10 01:20:21 -07:00
SageNealScript:
talkaftercancel
loadfont
2015-01-20 00:01:23 -08:00
writetext UnknownText_0x184f12
closetext
loadmovesprites
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-07-10 01:20:21 -07:00
ItemFragment_0x184a19:
db POTION, 1
2015-07-10 01:20:21 -07:00
ItemFragment_0x184a1b:
db ESCAPE_ROPE, 1
2015-07-10 01:20:21 -07:00
MovementData_0x184a1d:
step_up
step_up
step_up
step_up
step_end
2015-07-10 01:20:21 -07:00
MovementData_0x184a22:
step_up
step_end
2015-07-10 01:20:21 -07:00
MovementData_0x184a24:
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
2015-07-10 01:20:21 -07:00
UnknownText_0x184dfa:
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
2015-07-10 01:20:21 -07:00
UnknownText_0x184ea4:
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
2015-07-10 01:20:21 -07:00
UnknownText_0x184f12:
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, GROUP_SPROUT_TOWER_2F, MAP_SPROUT_TOWER_2F
; xy triggers
db 1
xy_trigger 0, $9, $b, $0, UnknownScript_0x184947, $0, $0
; signposts
db 6
signpost 1, 8, $0, MapSproutTower3FSignpost5Script
signpost 1, 11, $0, MapSproutTower3FSignpost5Script
signpost 0, 9, $0, MapSproutTower3FSignpost3Script
signpost 0, 10, $0, MapSproutTower3FSignpost3Script
signpost 15, 5, $0, MapSproutTower3FSignpost5Script
signpost 15, 14, $0, MapSproutTower3FSignpost5Script
; people-events
db 7
2015-07-12 21:16:35 -07:00
person_event SPRITE_SAGE, 17, 12, $9, $0, 255, 255, $92, 3, TrainerSageJin, -1
person_event SPRITE_SAGE, 12, 12, $6, $0, 255, 255, $92, 2, TrainerSageTroy, -1
person_event SPRITE_SAGE, 6, 14, $6, $0, 255, 255, $90, 0, SageLiScript, -1
person_event SPRITE_SAGE, 15, 15, $8, $0, 255, 255, $92, 3, TrainerSageNeal, -1
person_event SPRITE_POKE_BALL, 18, 10, $1, $0, 255, 255, $1, 0, ItemFragment_0x184a19, EVENT_649
person_event SPRITE_POKE_BALL, 5, 18, $1, $0, 255, 255, $1, 0, ItemFragment_0x184a1b, EVENT_64A
2015-06-24 20:20:04 -07:00
person_event SPRITE_SILVER, 8, 14, $7, $0, 255, 255, $0, 0, ObjectEvent, EVENT_RIVAL_SPROUT_TOWER