pokecrystal/maps/SproutTower2F.asm

110 lines
2.2 KiB
NASM
Raw Normal View History

2015-11-27 05:22:14 +00:00
const_value set 2
const SPROUTTOWER2F_SAGE1
const SPROUTTOWER2F_SAGE2
const SPROUTTOWER2F_POKE_BALL
2015-07-10 08:20:21 +00:00
SproutTower2F_MapScriptHeader:
.SceneScripts:
db 0
.MapCallbacks:
db 0
2015-07-10 08:20:21 +00:00
TrainerSageNico:
2017-12-18 01:45:04 +00:00
trainer EVENT_BEAT_SAGE_NICO, SAGE, NICO, SageNicoSeenText, SageNicoBeatenText, 0, .Script
2017-12-18 01:45:04 +00:00
.Script:
2015-11-25 15:16:29 +00:00
end_if_just_battled
2015-12-09 23:25:44 +00:00
opentext
2017-12-10 20:36:58 +00:00
writetext SageNicoAfterBattleText
2015-11-25 15:16:29 +00:00
waitbutton
closetext
end
2015-07-10 08:20:21 +00:00
TrainerSageEdmond:
2017-12-18 01:45:04 +00:00
trainer EVENT_BEAT_SAGE_EDMOND, SAGE, EDMOND, SageEdmondSeenText, SageEdmondBeatenText, 0, .Script
2017-12-18 01:45:04 +00:00
.Script:
2015-11-25 15:16:29 +00:00
end_if_just_battled
2015-12-09 23:25:44 +00:00
opentext
2017-12-10 20:36:58 +00:00
writetext SageEdmondAfterBattleText
2015-11-25 15:16:29 +00:00
waitbutton
closetext
end
2015-07-10 08:20:21 +00:00
MapSproutTower2FSignpost0Script:
jumptext UnknownText_0x1848c8
2015-12-15 15:55:56 +00:00
SproutTower2FXAccuracy:
itemball X_ACCURACY
2015-07-10 08:20:21 +00:00
SageNicoSeenText:
text "However hard we"
line "battle, the TOWER"
cont "will stand strong."
done
2015-07-10 08:20:21 +00:00
SageNicoBeatenText:
text "I fought hard but"
line "I'm too weak."
done
2017-12-10 20:36:58 +00:00
SageNicoAfterBattleText:
text "The flexible pil-"
line "lar protects the"
para "TOWER, even from"
line "earthquakes."
done
2015-07-10 08:20:21 +00:00
SageEdmondSeenText:
text "…Sway like leaves"
line "in the wind…"
done
2015-07-10 08:20:21 +00:00
SageEdmondBeatenText:
text "Oh, I'm weak!"
done
2017-12-10 20:36:58 +00:00
SageEdmondAfterBattleText:
text "I tried to copy"
line "BELLSPROUT's"
para "gentle movements"
line "for battle…"
para "But I didn't train"
line "well enough."
done
2015-07-10 08:20:21 +00:00
UnknownText_0x1848c8:
text "A #MON statue…"
para "It looks very"
line "distinguished."
done
2015-07-10 08:20:21 +00:00
SproutTower2F_MapEventHeader:
; filler
db 0, 0
.Warps:
db 4
warp_def 6, 4, 3, SPROUT_TOWER_1F
warp_def 2, 6, 4, SPROUT_TOWER_1F
warp_def 17, 3, 5, SPROUT_TOWER_1F
warp_def 10, 14, 1, SPROUT_TOWER_3F
.CoordEvents:
db 0
.BGEvents:
db 1
bg_event 12, 15, BGEVENT_READ, MapSproutTower2FSignpost0Script
.ObjectEvents:
db 3
object_event 12, 3, SPRITE_SAGE, SPRITEMOVEDATA_SPINRANDOM_FAST, 0, 0, -1, -1, PAL_NPC_BLUE, OBJECTTYPE_TRAINER, 4, TrainerSageNico, -1
object_event 9, 14, SPRITE_SAGE, SPRITEMOVEDATA_STANDING_LEFT, 0, 0, -1, -1, PAL_NPC_BLUE, OBJECTTYPE_TRAINER, 5, TrainerSageEdmond, -1
object_event 3, 1, SPRITE_POKE_BALL, SPRITEMOVEDATA_ITEM_TREE, 0, 0, -1, -1, 0, OBJECTTYPE_ITEMBALL, 0, SproutTower2FXAccuracy, EVENT_SPROUT_TOWER2F_X_ACCURACY