pokecrystal-board/maps/SproutTower1F.asm

133 lines
3.0 KiB
NASM
Raw Normal View History

2015-11-26 21:22:14 -08:00
const_value set 2
const SPROUTTOWER1F_SAGE1
const SPROUTTOWER1F_SAGE2
const SPROUTTOWER1F_GRANNY
const SPROUTTOWER1F_TEACHER
const SPROUTTOWER1F_SAGE3
const SPROUTTOWER1F_POKE_BALL
2015-07-10 01:20:21 -07:00
SproutTower1F_MapScriptHeader:
.SceneScripts:
db 0
.MapCallbacks:
db 0
2017-12-17 16:48:04 -08:00
SproutTower1FSage1Script:
jumptextfaceplayer SproutTower1FSage1Text
2017-12-17 16:48:04 -08:00
SproutTower1FSage2Script:
jumptextfaceplayer SproutTower1FSage2Text
2017-12-17 16:48:04 -08:00
SproutTower1FGrannyScript:
jumptextfaceplayer SproutTower1FGrannyText
2017-12-17 16:48:04 -08:00
SproutTower1FTeacherScript:
jumptextfaceplayer SproutTower1FTeacherText
2015-07-10 01:20:21 -07:00
TrainerSageChow:
2017-12-17 17:45:04 -08:00
trainer EVENT_BEAT_SAGE_CHOW, SAGE, CHOW, SageChowSeenText, SageChowBeatenText, 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 SageChowAfterBattleText
2015-11-25 07:16:29 -08:00
waitbutton
closetext
end
2015-12-15 07:55:56 -08:00
SproutTower1FParlyzHeal:
itemball PARLYZ_HEAL
2015-07-10 01:20:21 -07:00
MapSproutTower1FSignpost1Script:
jumptext UnknownText_0x1846d6
2015-07-10 01:20:21 -07:00
SageChowSeenText:
text "We stand guard in"
line "this tower."
para "Here, we express"
line "our gratitude to"
cont "honor all #MON."
done
2015-07-10 01:20:21 -07:00
SageChowBeatenText:
text "Th-Thank you!"
done
2017-12-10 12:36:58 -08:00
SageChowAfterBattleText:
text "All living beings"
line "coexist through"
cont "cooperation."
para "We must always be"
line "thankful for this."
done
2017-12-17 16:48:04 -08:00
SproutTower1FSage1Text:
text "Only if you reach"
line "the top will you"
cont "obtain an HM."
done
2017-12-17 16:48:04 -08:00
SproutTower1FSage2Text:
text "SPROUT TOWER was"
line "built long ago"
para "as a place for"
line "#MON training."
done
2017-12-17 16:48:04 -08:00
SproutTower1FGrannyText:
text "A BELLSPROUT over"
line "100 feet tall…"
para "People say that it"
line "became the center"
cont "pillar here."
done
2017-12-17 16:48:04 -08:00
SproutTower1FTeacherText:
text "See the pillar"
line "shaking?"
para "People are train-"
line "ing upstairs."
done
2015-07-10 01:20:21 -07:00
UnknownText_0x1846d6:
text "A #MON statue…"
para "It looks very"
line "distinguished."
done
2015-07-10 01:20:21 -07:00
SproutTower1F_MapEventHeader:
; filler
db 0, 0
.Warps:
db 5
warp_def $f, $9, 7, VIOLET_CITY
warp_def $f, $a, 7, VIOLET_CITY
warp_def $4, $6, 1, SPROUT_TOWER_2F
warp_def $6, $2, 2, SPROUT_TOWER_2F
warp_def $3, $11, 3, SPROUT_TOWER_2F
.CoordEvents:
db 0
.BGEvents:
db 2
bg_event 15, 7, BGEVENT_READ, MapSproutTower1FSignpost1Script
bg_event 15, 12, BGEVENT_READ, MapSproutTower1FSignpost1Script
.ObjectEvents:
db 6
object_event SPRITE_SAGE, 4, 7, SPRITEMOVEDATA_STANDING_DOWN, 0, 0, -1, -1, PAL_NPC_BLUE, OBJECTTYPE_SCRIPT, 0, SproutTower1FSage1Script, -1
object_event SPRITE_SAGE, 7, 6, SPRITEMOVEDATA_WANDER, 1, 1, -1, -1, PAL_NPC_BLUE, OBJECTTYPE_SCRIPT, 0, SproutTower1FSage2Script, -1
object_event SPRITE_GRANNY, 12, 11, SPRITEMOVEDATA_STANDING_LEFT, 0, 0, -1, -1, 0, OBJECTTYPE_SCRIPT, 0, SproutTower1FGrannyScript, -1
object_event SPRITE_TEACHER, 9, 9, SPRITEMOVEDATA_STANDING_UP, 0, 0, -1, -1, 0, OBJECTTYPE_SCRIPT, 0, SproutTower1FTeacherScript, -1
object_event SPRITE_SAGE, 5, 3, SPRITEMOVEDATA_STANDING_UP, 0, 0, -1, -1, PAL_NPC_BLUE, OBJECTTYPE_TRAINER, 4, TrainerSageChow, -1
object_event SPRITE_POKE_BALL, 7, 16, SPRITEMOVEDATA_ITEM_TREE, 0, 0, -1, -1, 0, OBJECTTYPE_ITEMBALL, 0, SproutTower1FParlyzHeal, EVENT_SPROUT_TOWER1F_PARLYZ_HEAL