pokecrystal-board/maps/BattleTowerOutside.asm

153 lines
3.2 KiB
NASM
Raw Normal View History

2015-11-26 21:22:14 -08:00
const_value set 2
const BATTLETOWEROUTSIDE_STANDING_YOUNGSTER
const BATTLETOWEROUTSIDE_BUENA
const BATTLETOWEROUTSIDE_SAILOR
const BATTLETOWEROUTSIDE_LASS
2015-06-25 22:30:16 -07:00
BattleTowerOutside_MapScriptHeader:
.SceneScripts:
db 0
.MapCallbacks:
db 2
2016-01-06 04:44:50 -08:00
dbw MAPCALLBACK_TILES, .Callback1
dbw MAPCALLBACK_OBJECTS, .Callback2
.Callback1:
return
.Callback2:
clearevent EVENT_BATTLE_TOWER_OUTSIDE_SAILOR
return
2015-12-15 07:55:56 -08:00
BattleTowerOutsideYoungsterScript:
jumptextfaceplayer BattleTowerOutsideYoungsterText
2015-12-15 07:55:56 -08:00
BattleTowerOutsideBuenaScript:
jumptextfaceplayer BattleTowerOutsideBuenaText
2015-12-15 07:55:56 -08:00
BattleTowerOutsideSailorScript:
jumptextfaceplayer BattleTowerOutsideSailorText
2015-06-25 22:30:16 -07:00
MapBattleTowerOutsideSignpost0Script:
2015-12-15 07:55:56 -08:00
jumptext BattleTowerOutsideText_UltimateChallenge
2015-12-15 07:55:56 -08:00
BattleTowerOutsideUnusedText1:
text "Wow, the BATTLE"
line "TOWER is huge! My"
para "neck is tired from"
line "looking up at it."
done
2015-12-15 07:55:56 -08:00
BattleTowerOutsideUnusedText2:
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
2015-12-15 07:55:56 -08:00
BattleTowerOutsideYoungsterText:
text "Wow, the BATTLE"
line "TOWER is huge!"
para "There must be many"
line "kinds of #MON"
cont "in there!"
done
2015-12-15 07:55:56 -08:00
BattleTowerOutsideUnusedText3:
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
2015-12-15 07:55:56 -08:00
BattleTowerOutsideBuenaText:
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
2015-12-15 07:55:56 -08:00
BattleTowerOutsideUnusedText4:
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
2015-12-15 07:55:56 -08:00
BattleTowerOutsideSailorText:
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
2015-12-15 07:55:56 -08:00
BattleTowerOutsideText_BattleTower:
text "BATTLE TOWER"
done
2015-12-15 07:55:56 -08:00
BattleTowerOutsideText_UltimateChallenge:
text "BATTLE TOWER"
para "Take the Ultimate"
line "Trainer Challenge!"
done
2015-12-15 07:55:56 -08:00
BattleTowerOutsideText_DoorsClosed:
text "The BATTLE TOWER's"
line "doors are closed…"
done
2015-12-15 07:55:56 -08:00
BattleTowerOutsideText_DoorsOpen:
text "It's open!"
done
2015-06-25 22:30:16 -07:00
BattleTowerOutside_MapEventHeader:
; filler
db 0, 0
.Warps:
db 4
warp_def $15, $8, 3, ROUTE_40_BATTLE_TOWER_GATE
warp_def $15, $9, 4, ROUTE_40_BATTLE_TOWER_GATE
warp_def $9, $8, 1, BATTLE_TOWER_1F
warp_def $9, $9, 2, BATTLE_TOWER_1F
.CoordEvents:
db 0
.BGEvents:
db 1
bg_event 10, 10, BGEVENT_READ, MapBattleTowerOutsideSignpost0Script
.ObjectEvents:
db 4
object_event SPRITE_STANDING_YOUNGSTER, 12, 6, SPRITEMOVEDATA_STANDING_UP, 0, 0, -1, -1, PAL_NPC_RED, OBJECTTYPE_SCRIPT, 0, BattleTowerOutsideYoungsterScript, -1
object_event SPRITE_BUENA, 11, 13, SPRITEMOVEDATA_WANDER, 1, 1, -1, -1, PAL_NPC_GREEN, OBJECTTYPE_SCRIPT, 0, BattleTowerOutsideBuenaScript, -1
object_event SPRITE_SAILOR, 18, 12, SPRITEMOVEDATA_WALK_LEFT_RIGHT, 0, 1, -1, -1, 0, OBJECTTYPE_SCRIPT, 0, BattleTowerOutsideSailorScript, EVENT_BATTLE_TOWER_OUTSIDE_SAILOR
object_event SPRITE_LASS, 24, 12, SPRITEMOVEDATA_SPINRANDOM_SLOW, 0, 0, -1, -1, PAL_NPC_GREEN, OBJECTTYPE_SCRIPT, 0, ObjectEvent, -1