2019-04-21 14:42:25 -07:00
|
|
|
object_const_def ; object_event constants
|
2015-11-26 21:22:14 -08:00
|
|
|
const BATTLETOWEROUTSIDE_STANDING_YOUNGSTER
|
2020-06-16 08:28:52 -07:00
|
|
|
const BATTLETOWEROUTSIDE_BEAUTY
|
2015-11-26 21:22:14 -08:00
|
|
|
const BATTLETOWEROUTSIDE_SAILOR
|
|
|
|
const BATTLETOWEROUTSIDE_LASS
|
|
|
|
|
2018-01-16 19:57:19 -08:00
|
|
|
BattleTowerOutside_MapScripts:
|
2018-01-30 11:15:47 -08:00
|
|
|
db 0 ; scene scripts
|
2013-02-16 22:54:07 -08:00
|
|
|
|
2018-01-30 11:15:47 -08:00
|
|
|
db 2 ; callbacks
|
2018-01-12 21:47:38 -08:00
|
|
|
callback MAPCALLBACK_TILES, .Callback1
|
|
|
|
callback MAPCALLBACK_OBJECTS, .Callback2
|
2013-02-16 22:54:07 -08:00
|
|
|
|
2016-04-10 11:42:14 -07:00
|
|
|
.Callback1:
|
2020-07-17 05:37:03 -07:00
|
|
|
endcallback
|
2013-02-16 22:54:07 -08:00
|
|
|
|
2016-04-10 11:42:14 -07:00
|
|
|
.Callback2:
|
2015-07-18 12:46:38 -07:00
|
|
|
clearevent EVENT_BATTLE_TOWER_OUTSIDE_SAILOR
|
2020-07-17 05:37:03 -07:00
|
|
|
endcallback
|
2013-02-16 22:54:07 -08:00
|
|
|
|
2015-12-15 07:55:56 -08:00
|
|
|
BattleTowerOutsideYoungsterScript:
|
|
|
|
jumptextfaceplayer BattleTowerOutsideYoungsterText
|
2013-02-16 22:54:07 -08:00
|
|
|
|
2020-06-16 08:28:52 -07:00
|
|
|
BattleTowerOutsideBeautyScript:
|
|
|
|
jumptextfaceplayer BattleTowerOutsideBeautyText
|
2013-02-16 22:54:07 -08:00
|
|
|
|
2015-12-15 07:55:56 -08:00
|
|
|
BattleTowerOutsideSailorScript:
|
|
|
|
jumptextfaceplayer BattleTowerOutsideSailorText
|
2013-02-16 22:54:07 -08:00
|
|
|
|
2018-02-26 08:56:49 -08:00
|
|
|
BattleTowerOutsideSign:
|
|
|
|
jumptext BattleTowerOutsideSignText
|
2013-02-16 22:54:07 -08:00
|
|
|
|
2018-02-27 16:47:30 -08:00
|
|
|
BattleTowerOutsideYoungsterText_NotYetOpen:
|
|
|
|
; unreferenced
|
2014-03-05 21:29:44 -08:00
|
|
|
text "Wow, the BATTLE"
|
|
|
|
line "TOWER is huge! My"
|
|
|
|
|
|
|
|
para "neck is tired from"
|
|
|
|
line "looking up at it."
|
|
|
|
done
|
2013-02-16 22:54:07 -08:00
|
|
|
|
2018-02-27 16:47:30 -08:00
|
|
|
BattleTowerOutsideYoungsterText_Mobile:
|
|
|
|
; unreferenced
|
2014-03-05 21:29:44 -08:00
|
|
|
text "Wow, the BATTLE"
|
|
|
|
line "TOWER is huge!"
|
|
|
|
|
|
|
|
para "Since there are a"
|
|
|
|
line "whole bunch of"
|
|
|
|
|
|
|
|
para "trainers inside,"
|
|
|
|
line "there must also be"
|
|
|
|
|
|
|
|
para "a wide variety of"
|
|
|
|
line "#MON."
|
|
|
|
done
|
2013-02-16 22:54:07 -08:00
|
|
|
|
2015-12-15 07:55:56 -08:00
|
|
|
BattleTowerOutsideYoungsterText:
|
2014-03-05 21:29:44 -08:00
|
|
|
text "Wow, the BATTLE"
|
|
|
|
line "TOWER is huge!"
|
|
|
|
|
|
|
|
para "There must be many"
|
|
|
|
line "kinds of #MON"
|
|
|
|
cont "in there!"
|
|
|
|
done
|
2013-02-16 22:54:07 -08:00
|
|
|
|
2020-06-16 08:28:52 -07:00
|
|
|
BattleTowerOutsideBeautyText_NotYetOpen:
|
2018-02-27 16:47:30 -08:00
|
|
|
; unreferenced
|
2014-03-05 21:29:44 -08:00
|
|
|
text "What on earth do"
|
|
|
|
line "they do here?"
|
|
|
|
|
|
|
|
para "If the name says"
|
|
|
|
line "anything, I guess"
|
|
|
|
|
|
|
|
para "it must be for"
|
|
|
|
line "#MON battles."
|
|
|
|
done
|
2013-02-16 22:54:07 -08:00
|
|
|
|
2020-06-16 08:28:52 -07:00
|
|
|
BattleTowerOutsideBeautyText:
|
2014-03-05 21:29:44 -08:00
|
|
|
text "You can use only"
|
|
|
|
line "three #MON."
|
|
|
|
|
|
|
|
para "It's so hard to"
|
|
|
|
line "decide which three"
|
|
|
|
|
|
|
|
para "should go into"
|
|
|
|
line "battle…"
|
|
|
|
done
|
2013-02-16 22:54:07 -08:00
|
|
|
|
2018-02-27 16:47:30 -08:00
|
|
|
BattleTowerOutsideSailorText_Mobile:
|
|
|
|
; unreferenced
|
2014-03-05 21:29:44 -08:00
|
|
|
text "Ehehehe…"
|
|
|
|
line "I sneaked out of"
|
|
|
|
cont "work to come here."
|
|
|
|
|
|
|
|
para "I'm never giving"
|
|
|
|
line "up until I become"
|
|
|
|
cont "a LEADER!"
|
|
|
|
done
|
2013-02-16 22:54:07 -08:00
|
|
|
|
2015-12-15 07:55:56 -08:00
|
|
|
BattleTowerOutsideSailorText:
|
2014-03-05 21:29:44 -08:00
|
|
|
text "Hehehe, I snuck"
|
|
|
|
line "out from work."
|
|
|
|
|
|
|
|
para "I can't bail out"
|
|
|
|
line "until I've won!"
|
|
|
|
|
|
|
|
para "I have to win it"
|
|
|
|
line "all. That I must!"
|
|
|
|
done
|
2013-02-16 22:54:07 -08:00
|
|
|
|
2018-02-26 08:56:49 -08:00
|
|
|
BattleTowerOutsideSignText_NotYetOpen:
|
2018-02-25 19:33:07 -08:00
|
|
|
; unused; originally shown when the Battle Tower was closed
|
2014-03-05 21:29:44 -08:00
|
|
|
text "BATTLE TOWER"
|
|
|
|
done
|
2013-02-16 22:54:07 -08:00
|
|
|
|
2018-02-26 08:56:49 -08:00
|
|
|
BattleTowerOutsideSignText:
|
2014-03-05 21:29:44 -08:00
|
|
|
text "BATTLE TOWER"
|
|
|
|
|
|
|
|
para "Take the Ultimate"
|
|
|
|
line "Trainer Challenge!"
|
|
|
|
done
|
2013-02-16 22:54:07 -08:00
|
|
|
|
2015-12-15 07:55:56 -08:00
|
|
|
BattleTowerOutsideText_DoorsClosed:
|
2018-02-25 19:33:07 -08:00
|
|
|
; unused; originally shown when the Battle Tower was closed
|
2014-03-05 21:29:44 -08:00
|
|
|
text "The BATTLE TOWER's"
|
|
|
|
line "doors are closed…"
|
|
|
|
done
|
2013-02-16 22:54:07 -08:00
|
|
|
|
2015-12-15 07:55:56 -08:00
|
|
|
BattleTowerOutsideText_DoorsOpen:
|
2018-02-25 19:33:07 -08:00
|
|
|
; unused; originally shown after the Battle Tower opened
|
2014-03-05 21:29:44 -08:00
|
|
|
text "It's open!"
|
|
|
|
done
|
2013-02-16 22:54:07 -08:00
|
|
|
|
2018-01-16 19:57:19 -08:00
|
|
|
BattleTowerOutside_MapEvents:
|
2018-01-30 11:15:47 -08:00
|
|
|
db 0, 0 ; filler
|
2013-02-16 22:54:07 -08:00
|
|
|
|
2018-01-30 11:15:47 -08:00
|
|
|
db 4 ; warp events
|
2018-02-01 19:22:07 -08:00
|
|
|
warp_event 8, 21, ROUTE_40_BATTLE_TOWER_GATE, 3
|
|
|
|
warp_event 9, 21, ROUTE_40_BATTLE_TOWER_GATE, 4
|
|
|
|
warp_event 8, 9, BATTLE_TOWER_1F, 1
|
|
|
|
warp_event 9, 9, BATTLE_TOWER_1F, 2
|
2013-02-16 22:54:07 -08:00
|
|
|
|
2018-01-30 11:15:47 -08:00
|
|
|
db 0 ; coord events
|
2013-02-16 22:54:07 -08:00
|
|
|
|
2018-01-30 11:15:47 -08:00
|
|
|
db 1 ; bg events
|
2018-02-26 08:56:49 -08:00
|
|
|
bg_event 10, 10, BGEVENT_READ, BattleTowerOutsideSign
|
2013-02-16 22:54:07 -08:00
|
|
|
|
2018-01-30 11:15:47 -08:00
|
|
|
db 4 ; object events
|
2018-02-01 19:22:07 -08:00
|
|
|
object_event 6, 12, SPRITE_STANDING_YOUNGSTER, SPRITEMOVEDATA_STANDING_UP, 0, 0, -1, -1, PAL_NPC_RED, OBJECTTYPE_SCRIPT, 0, BattleTowerOutsideYoungsterScript, -1
|
2020-06-16 08:28:52 -07:00
|
|
|
object_event 13, 11, SPRITE_BEAUTY, SPRITEMOVEDATA_WANDER, 1, 1, -1, -1, PAL_NPC_GREEN, OBJECTTYPE_SCRIPT, 0, BattleTowerOutsideBeautyScript, -1
|
2017-12-28 11:31:25 -08:00
|
|
|
object_event 12, 18, SPRITE_SAILOR, SPRITEMOVEDATA_WALK_LEFT_RIGHT, 1, 0, -1, -1, 0, OBJECTTYPE_SCRIPT, 0, BattleTowerOutsideSailorScript, EVENT_BATTLE_TOWER_OUTSIDE_SAILOR
|
|
|
|
object_event 12, 24, SPRITE_LASS, SPRITEMOVEDATA_SPINRANDOM_SLOW, 0, 0, -1, -1, PAL_NPC_GREEN, OBJECTTYPE_SCRIPT, 0, ObjectEvent, -1
|