pokecrystal-board/maps/SproutTower2F.asm

110 lines
2.2 KiB
NASM
Raw Normal View History

2015-11-26 21:22:14 -08:00
const_value set 2
const SPROUTTOWER2F_SAGE1
const SPROUTTOWER2F_SAGE2
const SPROUTTOWER2F_POKE_BALL
2015-07-10 01:20:21 -07:00
SproutTower2F_MapScriptHeader:
.MapTriggers:
db 0
.MapCallbacks:
db 0
2015-07-10 01:20:21 -07:00
TrainerSageNico:
2015-11-02 11:37:02 -08:00
trainer EVENT_BEAT_SAGE_NICO, SAGE, NICO, SageNicoSeenText, SageNicoBeatenText, 0, SageNicoScript
2015-07-10 01:20:21 -07:00
SageNicoScript:
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 SageNicoAfterBattleText
2015-11-25 07:16:29 -08:00
waitbutton
closetext
end
2015-07-10 01:20:21 -07:00
TrainerSageEdmond:
2015-11-02 11:37:02 -08:00
trainer EVENT_BEAT_SAGE_EDMOND, SAGE, EDMOND, SageEdmondSeenText, SageEdmondBeatenText, 0, SageEdmondScript
2015-07-10 01:20:21 -07:00
SageEdmondScript:
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 SageEdmondAfterBattleText
2015-11-25 07:16:29 -08:00
waitbutton
closetext
end
2015-07-10 01:20:21 -07:00
MapSproutTower2FSignpost0Script:
jumptext UnknownText_0x1848c8
2015-12-15 07:55:56 -08:00
SproutTower2FXAccuracy:
itemball X_ACCURACY
2015-07-10 01:20:21 -07:00
SageNicoSeenText:
text "However hard we"
line "battle, the TOWER"
cont "will stand strong."
done
2015-07-10 01:20:21 -07:00
SageNicoBeatenText:
text "I fought hard but"
line "I'm too weak."
done
2017-12-10 12:36:58 -08:00
SageNicoAfterBattleText:
text "The flexible pil-"
line "lar protects the"
para "TOWER, even from"
line "earthquakes."
done
2015-07-10 01:20:21 -07:00
SageEdmondSeenText:
text "…Sway like leaves"
line "in the wind…"
done
2015-07-10 01:20:21 -07:00
SageEdmondBeatenText:
text "Oh, I'm weak!"
done
2017-12-10 12:36:58 -08: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 01:20:21 -07:00
UnknownText_0x1848c8:
text "A #MON statue…"
para "It looks very"
line "distinguished."
done
2015-07-10 01:20:21 -07:00
SproutTower2F_MapEventHeader:
; filler
db 0, 0
.Warps:
db 4
warp_def $4, $6, 3, SPROUT_TOWER_1F
warp_def $6, $2, 4, SPROUT_TOWER_1F
warp_def $3, $11, 5, SPROUT_TOWER_1F
warp_def $e, $a, 1, SPROUT_TOWER_3F
.XYTriggers:
db 0
.Signposts:
db 1
signpost 15, 12, SIGNPOST_READ, MapSproutTower2FSignpost0Script
.PersonEvents:
db 3
person_event SPRITE_SAGE, 3, 12, SPRITEMOVEDATA_SPINRANDOM_FAST, 0, 0, -1, -1, (1 << 3) | PAL_OW_BLUE, PERSONTYPE_TRAINER, 4, TrainerSageNico, -1
person_event SPRITE_SAGE, 14, 9, SPRITEMOVEDATA_STANDING_LEFT, 0, 0, -1, -1, (1 << 3) | PAL_OW_BLUE, PERSONTYPE_TRAINER, 5, TrainerSageEdmond, -1
2015-12-15 07:55:56 -08:00
person_event SPRITE_POKE_BALL, 1, 3, SPRITEMOVEDATA_ITEM_TREE, 0, 0, -1, -1, 0, PERSONTYPE_ITEMBALL, 0, SproutTower2FXAccuracy, EVENT_SPROUT_TOWER2F_X_ACCURACY