mirror of
https://gitlab.com/xCrystal/pokecrystal-board.git
synced 2024-09-09 09:51:34 -07:00
All map triggers use the maptrigger
macro, not dw
.MapTriggers and .MapCallbacks lists are formatted consistently with .Warps, .XYTriggers, .Signposts, and .PersonEvents
This commit is contained in:
parent
66527d861f
commit
62f5913943
@ -14,7 +14,7 @@ AzaleaGym_MapScriptHeader:
|
||||
.MapCallbacks:
|
||||
db 0
|
||||
|
||||
BugsyScript:
|
||||
AzaleaGymBugsyScript:
|
||||
faceplayer
|
||||
opentext
|
||||
checkevent EVENT_BEAT_BUGSY
|
||||
@ -380,7 +380,7 @@ AzaleaGym_MapEventHeader:
|
||||
|
||||
.PersonEvents:
|
||||
db 7
|
||||
person_event SPRITE_BUGSY, 7, 5, SPRITEMOVEDATA_SPINRANDOM_SLOW, 0, 0, -1, -1, (1 << 3) | PAL_OW_GREEN, PERSONTYPE_SCRIPT, 0, BugsyScript, -1
|
||||
person_event SPRITE_BUGSY, 7, 5, SPRITEMOVEDATA_SPINRANDOM_SLOW, 0, 0, -1, -1, (1 << 3) | PAL_OW_GREEN, PERSONTYPE_SCRIPT, 0, AzaleaGymBugsyScript, -1
|
||||
person_event SPRITE_BUG_CATCHER, 3, 5, SPRITEMOVEDATA_SPINRANDOM_FAST, 0, 0, -1, -1, (1 << 3) | PAL_OW_BROWN, PERSONTYPE_TRAINER, 2, TrainerBug_catcherbenny, -1
|
||||
person_event SPRITE_BUG_CATCHER, 8, 8, SPRITEMOVEDATA_STANDING_DOWN, 0, 0, -1, -1, (1 << 3) | PAL_OW_BROWN, PERSONTYPE_TRAINER, 3, TrainerBug_catcherAl, -1
|
||||
person_event SPRITE_BUG_CATCHER, 2, 0, SPRITEMOVEDATA_STANDING_DOWN, 0, 0, -1, -1, (1 << 3) | PAL_OW_BROWN, PERSONTYPE_TRAINER, 3, TrainerBug_catcherJosh, -1
|
||||
|
@ -7,14 +7,12 @@ const_value set 2
|
||||
AzaleaPokeCenter1F_MapScriptHeader:
|
||||
.MapTriggers:
|
||||
db 1
|
||||
|
||||
; triggers
|
||||
maptrigger .Trigger0
|
||||
maptrigger .DummyTrigger
|
||||
|
||||
.MapCallbacks:
|
||||
db 0
|
||||
|
||||
.Trigger0:
|
||||
.DummyTrigger:
|
||||
end
|
||||
|
||||
AzaleaPokeCenter1FNurseScript:
|
||||
|
@ -15,25 +15,21 @@ const_value set 2
|
||||
AzaleaTown_MapScriptHeader:
|
||||
.MapTriggers:
|
||||
db 3
|
||||
|
||||
; triggers
|
||||
maptrigger .Trigger0
|
||||
maptrigger .Trigger1
|
||||
maptrigger .Trigger2
|
||||
maptrigger .DummyTrigger0
|
||||
maptrigger .DummyTrigger1
|
||||
maptrigger .DummyTrigger2
|
||||
|
||||
.MapCallbacks:
|
||||
db 1
|
||||
|
||||
; callbacks
|
||||
dbw MAPCALLBACK_NEWMAP, .Flypoint
|
||||
|
||||
.Trigger0:
|
||||
.DummyTrigger0:
|
||||
end
|
||||
|
||||
.Trigger1:
|
||||
.DummyTrigger1:
|
||||
end
|
||||
|
||||
.Trigger2:
|
||||
.DummyTrigger2:
|
||||
end
|
||||
|
||||
.Flypoint:
|
||||
|
@ -8,8 +8,6 @@ const_value set 2
|
||||
BattleTower1F_MapScriptHeader:
|
||||
.MapTriggers:
|
||||
db 2
|
||||
|
||||
; triggers
|
||||
maptrigger .Trigger0
|
||||
maptrigger .Trigger1
|
||||
|
||||
|
@ -5,10 +5,8 @@ const_value set 2
|
||||
BattleTowerBattleRoom_MapScriptHeader:
|
||||
.MapTriggers:
|
||||
db 2
|
||||
|
||||
; triggers
|
||||
dw .EnterBattleRoom, 0
|
||||
dw .DummyTrigger, 0
|
||||
maptrigger .EnterBattleRoom
|
||||
maptrigger .DummyTrigger
|
||||
|
||||
.MapCallbacks:
|
||||
db 0
|
||||
|
@ -4,8 +4,6 @@ const_value set 2
|
||||
BattleTowerElevator_MapScriptHeader:
|
||||
.MapTriggers:
|
||||
db 2
|
||||
|
||||
; triggers
|
||||
maptrigger .Trigger0
|
||||
maptrigger .Trigger1
|
||||
|
||||
|
@ -4,8 +4,6 @@ const_value set 2
|
||||
BattleTowerHallway_MapScriptHeader:
|
||||
.MapTriggers:
|
||||
db 2
|
||||
|
||||
; triggers
|
||||
maptrigger .Trigger0
|
||||
maptrigger .Trigger1
|
||||
|
||||
|
@ -10,8 +10,6 @@ BattleTowerOutside_MapScriptHeader:
|
||||
|
||||
.MapCallbacks:
|
||||
db 2
|
||||
|
||||
; callbacks
|
||||
dbw MAPCALLBACK_TILES, .Callback1
|
||||
dbw MAPCALLBACK_OBJECTS, .Callback2
|
||||
|
||||
|
@ -15,8 +15,6 @@ BlackthornCity_MapScriptHeader:
|
||||
|
||||
.MapCallbacks:
|
||||
db 2
|
||||
|
||||
; callbacks
|
||||
dbw MAPCALLBACK_NEWMAP, .FlyPoint
|
||||
dbw MAPCALLBACK_OBJECTS, .Santos
|
||||
|
||||
|
@ -11,8 +11,6 @@ BlackthornGym1F_MapScriptHeader:
|
||||
|
||||
.MapCallbacks:
|
||||
db 1
|
||||
|
||||
; callbacks
|
||||
dbw MAPCALLBACK_TILES, .Boulders
|
||||
|
||||
.Boulders:
|
||||
|
@ -14,8 +14,6 @@ BlackthornGym2F_MapScriptHeader:
|
||||
|
||||
.MapCallbacks:
|
||||
db 1
|
||||
|
||||
; callbacks
|
||||
dbw MAPCALLBACK_CMDQUEUE, .Boulders
|
||||
|
||||
.Boulders:
|
||||
|
@ -4,23 +4,18 @@ const_value set 2
|
||||
BrunosRoom_MapScriptHeader:
|
||||
.MapTriggers:
|
||||
db 2
|
||||
|
||||
; triggers
|
||||
dw .Trigger0, 0
|
||||
dw .Trigger1, 0
|
||||
maptrigger .LockDoor
|
||||
maptrigger .DummyTrigger
|
||||
|
||||
.MapCallbacks:
|
||||
db 1
|
||||
|
||||
; callbacks
|
||||
|
||||
dbw MAPCALLBACK_TILES, .BrunosRoomDoors
|
||||
|
||||
.Trigger0:
|
||||
.LockDoor:
|
||||
priorityjump .BrunosDoorLocksBehindYou
|
||||
end
|
||||
|
||||
.Trigger1:
|
||||
.DummyTrigger:
|
||||
end
|
||||
|
||||
.BrunosRoomDoors:
|
||||
|
@ -8,27 +8,22 @@ const_value set 2
|
||||
BurnedTower1F_MapScriptHeader:
|
||||
.MapTriggers:
|
||||
db 3
|
||||
|
||||
; triggers
|
||||
maptrigger .Trigger0
|
||||
maptrigger .Trigger1
|
||||
maptrigger .Trigger2
|
||||
maptrigger .EusineTrigger
|
||||
maptrigger .DummyTrigger1
|
||||
maptrigger .DummyTrigger2
|
||||
|
||||
.MapCallbacks:
|
||||
db 1
|
||||
|
||||
; callbacks
|
||||
|
||||
dbw MAPCALLBACK_TILES, .HoleAndLadder
|
||||
|
||||
.Trigger0:
|
||||
priorityjump .EusineTrigger
|
||||
.EusineTrigger:
|
||||
priorityjump .MeetEusine
|
||||
end
|
||||
|
||||
.Trigger1:
|
||||
.DummyTrigger1:
|
||||
end
|
||||
|
||||
.Trigger2:
|
||||
.DummyTrigger2:
|
||||
end
|
||||
|
||||
.HoleAndLadder:
|
||||
@ -42,7 +37,7 @@ BurnedTower1F_MapScriptHeader:
|
||||
.Done:
|
||||
return
|
||||
|
||||
.EusineTrigger:
|
||||
.MeetEusine:
|
||||
spriteface BURNEDTOWER1F_EUSINE, DOWN
|
||||
showemote EMOTE_SHOCK, BURNEDTOWER1F_EUSINE, 15
|
||||
applymovement BURNEDTOWER1F_EUSINE, BurnedTower1FEusineMovement
|
||||
|
@ -12,25 +12,20 @@ const_value set 2
|
||||
BurnedTowerB1F_MapScriptHeader:
|
||||
.MapTriggers:
|
||||
db 2
|
||||
|
||||
; triggers
|
||||
dw .Trigger0, 0
|
||||
dw .Trigger1, 0
|
||||
maptrigger .DummyTrigger0
|
||||
maptrigger .DummyTrigger1
|
||||
|
||||
.MapCallbacks:
|
||||
db 1
|
||||
dbw MAPCALLBACK_TILES, .LadderCallback
|
||||
|
||||
; callbacks
|
||||
|
||||
dbw MAPCALLBACK_TILES, BurnedTowerB1FLadderCallback
|
||||
|
||||
.Trigger0:
|
||||
.DummyTrigger0:
|
||||
end
|
||||
|
||||
.Trigger1:
|
||||
.DummyTrigger1:
|
||||
end
|
||||
|
||||
BurnedTowerB1FLadderCallback:
|
||||
.LadderCallback:
|
||||
checkevent EVENT_RELEASED_THE_BEASTS
|
||||
iftrue .NoChange
|
||||
changeblock $6, $e, $2
|
||||
|
@ -15,8 +15,6 @@ CeladonCity_MapScriptHeader:
|
||||
|
||||
.MapCallbacks:
|
||||
db 1
|
||||
|
||||
; callbacks
|
||||
dbw MAPCALLBACK_NEWMAP, .FlyPoint
|
||||
|
||||
.FlyPoint:
|
||||
|
@ -8,9 +8,6 @@ CeladonDeptStore6F_MapScriptHeader:
|
||||
|
||||
.MapCallbacks:
|
||||
db 1
|
||||
|
||||
; callbacks
|
||||
|
||||
dbw MAPCALLBACK_TILES, .Callback
|
||||
|
||||
.Callback:
|
||||
|
@ -12,8 +12,6 @@ CeruleanCity_MapScriptHeader:
|
||||
|
||||
.MapCallbacks:
|
||||
db 1
|
||||
|
||||
; callbacks
|
||||
dbw MAPCALLBACK_NEWMAP, .FlyPoint
|
||||
|
||||
.FlyPoint:
|
||||
|
@ -9,22 +9,20 @@ const_value set 2
|
||||
CeruleanGym_MapScriptHeader:
|
||||
.MapTriggers:
|
||||
db 2
|
||||
|
||||
; triggers
|
||||
dw UnknownScript_0x1883d9, 0
|
||||
dw UnknownScript_0x1883da, 0
|
||||
maptrigger .DummyTrigger0
|
||||
maptrigger .GruntRunsOut
|
||||
|
||||
.MapCallbacks:
|
||||
db 0
|
||||
|
||||
UnknownScript_0x1883d9:
|
||||
.DummyTrigger0:
|
||||
end
|
||||
|
||||
UnknownScript_0x1883da:
|
||||
priorityjump UnknownScript_0x1883de
|
||||
.GruntRunsOut:
|
||||
priorityjump .GruntRunsOutScript
|
||||
end
|
||||
|
||||
UnknownScript_0x1883de:
|
||||
.GruntRunsOutScript:
|
||||
applymovement CERULEANGYM_ROCKET, MovementData_0x1884e3
|
||||
playsound SFX_TACKLE
|
||||
applymovement CERULEANGYM_ROCKET, MovementData_0x1884eb
|
||||
|
@ -8,21 +8,17 @@ const_value set 2
|
||||
CherrygroveCity_MapScriptHeader:
|
||||
.MapTriggers:
|
||||
db 2
|
||||
|
||||
; triggers
|
||||
maptrigger .Trigger0
|
||||
maptrigger .Trigger1
|
||||
maptrigger .DummyTrigger0
|
||||
maptrigger .DummyTrigger1
|
||||
|
||||
.MapCallbacks:
|
||||
db 1
|
||||
|
||||
; callbacks
|
||||
dbw MAPCALLBACK_NEWMAP, .FlyPoint
|
||||
|
||||
.Trigger0:
|
||||
.DummyTrigger0:
|
||||
end
|
||||
|
||||
.Trigger1:
|
||||
.DummyTrigger1:
|
||||
end
|
||||
|
||||
.FlyPoint:
|
||||
|
@ -15,21 +15,17 @@ const_value set 2
|
||||
CianwoodCity_MapScriptHeader:
|
||||
.MapTriggers:
|
||||
db 2
|
||||
|
||||
; triggers
|
||||
maptrigger .Trigger0
|
||||
maptrigger .Trigger1
|
||||
maptrigger .DummyTrigger0
|
||||
maptrigger .DummyTrigger1
|
||||
|
||||
.MapCallbacks:
|
||||
db 1
|
||||
|
||||
; callbacks
|
||||
dbw MAPCALLBACK_NEWMAP, .FlyPointAndSuicune
|
||||
|
||||
.Trigger0:
|
||||
.DummyTrigger0:
|
||||
end
|
||||
|
||||
.Trigger1:
|
||||
.DummyTrigger1:
|
||||
end
|
||||
|
||||
.FlyPointAndSuicune:
|
||||
|
@ -4,14 +4,12 @@ const_value set 2
|
||||
CianwoodPharmacy_MapScriptHeader:
|
||||
.MapTriggers:
|
||||
db 1
|
||||
|
||||
; triggers
|
||||
dw CianwoodPharmacyTrigger, 0
|
||||
maptrigger .DummyTrigger
|
||||
|
||||
.MapCallbacks:
|
||||
db 0
|
||||
|
||||
CianwoodPharmacyTrigger:
|
||||
.DummyTrigger:
|
||||
end
|
||||
|
||||
CianwoodPharmacist:
|
||||
|
@ -7,8 +7,6 @@ CinnabarIsland_MapScriptHeader:
|
||||
|
||||
.MapCallbacks:
|
||||
db 1
|
||||
|
||||
; callbacks
|
||||
dbw MAPCALLBACK_NEWMAP, .FlyPoint
|
||||
|
||||
.FlyPoint:
|
||||
|
@ -5,32 +5,26 @@ const_value set 2
|
||||
Colosseum_MapScriptHeader:
|
||||
.MapTriggers:
|
||||
db 3
|
||||
|
||||
; triggers
|
||||
maptrigger .Trigger0
|
||||
maptrigger .Trigger1
|
||||
maptrigger .Trigger2
|
||||
maptrigger .InitializeColosseum
|
||||
maptrigger .DummyTrigger1
|
||||
maptrigger .DummyTrigger2
|
||||
|
||||
.MapCallbacks:
|
||||
db 2
|
||||
dbw MAPCALLBACK_OBJECTS, .SetWhichChris
|
||||
dbw MAPCALLBACK_NEWMAP, .PreparePokeCenter2F
|
||||
|
||||
; callbacks
|
||||
|
||||
dbw MAPCALLBACK_OBJECTS, ColosseumScript_SetWhichChris
|
||||
|
||||
dbw MAPCALLBACK_NEWMAP, ColosseumScript_InitializeCB
|
||||
|
||||
.Trigger0:
|
||||
priorityjump ColosseumScript_Initialize
|
||||
.InitializeColosseum:
|
||||
priorityjump .InitializeAndPreparePokeCenter2F
|
||||
end
|
||||
|
||||
.Trigger1:
|
||||
.DummyTrigger1:
|
||||
end
|
||||
|
||||
.Trigger2:
|
||||
.DummyTrigger2:
|
||||
end
|
||||
|
||||
ColosseumScript_SetWhichChris:
|
||||
.SetWhichChris:
|
||||
special Special_CableClubCheckWhichChris
|
||||
iffalse .Chris2
|
||||
disappear COLOSSEUM_CHRIS2
|
||||
@ -42,11 +36,11 @@ ColosseumScript_SetWhichChris:
|
||||
appear COLOSSEUM_CHRIS2
|
||||
return
|
||||
|
||||
ColosseumScript_InitializeCB:
|
||||
.PreparePokeCenter2F:
|
||||
domaptrigger POKECENTER_2F, $2
|
||||
return
|
||||
|
||||
ColosseumScript_Initialize:
|
||||
.InitializeAndPreparePokeCenter2F:
|
||||
dotrigger $1
|
||||
domaptrigger POKECENTER_2F, $2
|
||||
end
|
||||
|
@ -12,9 +12,6 @@ CopycatsHouse2F_MapScriptHeader:
|
||||
|
||||
.MapCallbacks:
|
||||
db 1
|
||||
|
||||
; callbacks
|
||||
|
||||
dbw MAPCALLBACK_OBJECTS, .Callback
|
||||
|
||||
.Callback:
|
||||
|
@ -8,9 +8,6 @@ DayCare_MapScriptHeader:
|
||||
|
||||
.MapCallbacks:
|
||||
db 1
|
||||
|
||||
; callbacks
|
||||
|
||||
dbw MAPCALLBACK_OBJECTS, .EggCheckCallback
|
||||
|
||||
.EggCheckCallback:
|
||||
|
@ -7,22 +7,20 @@ const_value set 2
|
||||
DragonShrine_MapScriptHeader:
|
||||
.MapTriggers:
|
||||
db 2
|
||||
|
||||
; triggers
|
||||
maptrigger .Trigger0
|
||||
maptrigger .Trigger1
|
||||
maptrigger .DragonShrineTest
|
||||
maptrigger .DummyTrigger
|
||||
|
||||
.MapCallbacks:
|
||||
db 0
|
||||
|
||||
.Trigger0:
|
||||
priorityjump DragonShrineTestScript
|
||||
.DragonShrineTest:
|
||||
priorityjump .DragonShrineTestScript
|
||||
end
|
||||
|
||||
.Trigger1:
|
||||
.DummyTrigger:
|
||||
end
|
||||
|
||||
DragonShrineTestScript:
|
||||
.DragonShrineTestScript:
|
||||
applymovement PLAYER, MovementData_0x18d2bf
|
||||
applymovement DRAGONSHRINE_ELDER1, MovementData_0x18d2c7
|
||||
opentext
|
||||
@ -272,10 +270,10 @@ MenuDataHeader_0x18d215:
|
||||
db $40 ; flags
|
||||
db 04, 08 ; start coords
|
||||
db 11, 19 ; end coords
|
||||
dw MenuData2_0x18d21d
|
||||
dw .MenuData2
|
||||
db 1 ; default option
|
||||
|
||||
MenuData2_0x18d21d:
|
||||
.MenuData2:
|
||||
db $81 ; flags
|
||||
db 3 ; items
|
||||
db "Pal@"
|
||||
@ -287,10 +285,10 @@ MenuDataHeader_0x18d234:
|
||||
db $40 ; flags
|
||||
db 04, 09 ; start coords
|
||||
db 11, 19 ; end coords
|
||||
dw MenuData2_0x18d23c
|
||||
dw .MenuData2
|
||||
db 1 ; default option
|
||||
|
||||
MenuData2_0x18d23c:
|
||||
.MenuData2:
|
||||
db $81 ; flags
|
||||
db 3 ; items
|
||||
db "Strategy@"
|
||||
@ -302,10 +300,10 @@ MenuDataHeader_0x18d258:
|
||||
db $40 ; flags
|
||||
db 04, 05 ; start coords
|
||||
db 11, 19 ; end coords
|
||||
dw MenuData2_0x18d260
|
||||
dw .MenuData2
|
||||
db 1 ; default option
|
||||
|
||||
MenuData2_0x18d260:
|
||||
.MenuData2:
|
||||
db $81 ; flags
|
||||
db 3 ; items
|
||||
db "Weak person@"
|
||||
@ -317,10 +315,10 @@ MenuDataHeader_0x18d283:
|
||||
db $40 ; flags
|
||||
db 04, 08 ; start coords
|
||||
db 11, 19 ; end coords
|
||||
dw MenuData2_0x18d28b
|
||||
dw .MenuData2
|
||||
db 1 ; default option
|
||||
|
||||
MenuData2_0x18d28b:
|
||||
.MenuData2:
|
||||
db $81 ; flags
|
||||
db 3 ; items
|
||||
db "Love@"
|
||||
@ -332,10 +330,10 @@ MenuDataHeader_0x18d2a5:
|
||||
db $40 ; flags
|
||||
db 04, 12 ; start coords
|
||||
db 11, 19 ; end coords
|
||||
dw MenuData2_0x18d2ad
|
||||
dw .MenuData2
|
||||
db 1 ; default option
|
||||
|
||||
MenuData2_0x18d2ad:
|
||||
.MenuData2:
|
||||
db $81 ; flags
|
||||
db 3 ; items
|
||||
db "Tough@"
|
||||
|
@ -12,22 +12,17 @@ const_value set 2
|
||||
DragonsDenB1F_MapScriptHeader:
|
||||
.MapTriggers:
|
||||
db 2
|
||||
|
||||
; triggers
|
||||
maptrigger .Trigger0
|
||||
maptrigger .Trigger1
|
||||
maptrigger .DummyTrigger0
|
||||
maptrigger .DummyTrigger1
|
||||
|
||||
.MapCallbacks:
|
||||
db 1
|
||||
|
||||
; callbacks
|
||||
|
||||
dbw MAPCALLBACK_NEWMAP, .CheckSilver
|
||||
|
||||
.Trigger0:
|
||||
.DummyTrigger0:
|
||||
end
|
||||
|
||||
.Trigger1:
|
||||
.DummyTrigger1:
|
||||
end
|
||||
|
||||
.CheckSilver:
|
||||
|
@ -66,7 +66,7 @@ AcademyBlackboard:
|
||||
opentext
|
||||
writetext AcademyBlackboardText
|
||||
.Loop:
|
||||
loadmenudata .MenuHeader
|
||||
loadmenudata .BlackboardMenuData
|
||||
_2dmenu
|
||||
closewindow
|
||||
if_equal $1, .Poison
|
||||
@ -102,14 +102,14 @@ AcademyBlackboard:
|
||||
waitbutton
|
||||
jump .Loop
|
||||
|
||||
.MenuHeader:
|
||||
.BlackboardMenuData:
|
||||
db $40 ; flags
|
||||
db 00, 00 ; start coords
|
||||
db 08, 11 ; end coords
|
||||
dw .Data
|
||||
dw .MenuData2
|
||||
db 1 ; default option
|
||||
|
||||
.Data:
|
||||
.MenuData2:
|
||||
db $80 ; flags
|
||||
dn 3, 2 ; rows, columns
|
||||
db 5 ; spacing
|
||||
|
@ -13,8 +13,6 @@ EcruteakCity_MapScriptHeader:
|
||||
|
||||
.MapCallbacks:
|
||||
db 1
|
||||
|
||||
; callbacks
|
||||
dbw MAPCALLBACK_NEWMAP, .FlyPoint
|
||||
|
||||
.FlyPoint:
|
||||
|
@ -10,19 +10,17 @@ const_value set 2
|
||||
EcruteakGym_MapScriptHeader:
|
||||
.MapTriggers:
|
||||
db 2
|
||||
|
||||
; triggers
|
||||
dw UnknownScript_0x99d53, 0
|
||||
dw UnknownScript_0x99d57, 0
|
||||
maptrigger .ForcedToLeave
|
||||
maptrigger .DummyTrigger
|
||||
|
||||
.MapCallbacks:
|
||||
db 0
|
||||
|
||||
UnknownScript_0x99d53:
|
||||
.ForcedToLeave:
|
||||
priorityjump EcruteakGymClosed
|
||||
end
|
||||
|
||||
UnknownScript_0x99d57:
|
||||
.DummyTrigger:
|
||||
end
|
||||
|
||||
MortyScript_0x99d58:
|
||||
|
@ -7,22 +7,17 @@ const_value set 2
|
||||
EcruteakHouse_MapScriptHeader:
|
||||
.MapTriggers:
|
||||
db 2
|
||||
|
||||
; triggers
|
||||
maptrigger .Trigger0
|
||||
maptrigger .Trigger1
|
||||
maptrigger .DummyTrigger0
|
||||
maptrigger .DummyTrigger1
|
||||
|
||||
.MapCallbacks:
|
||||
db 1
|
||||
|
||||
; callbacks
|
||||
|
||||
dbw MAPCALLBACK_OBJECTS, .InitializeSages
|
||||
|
||||
.Trigger0:
|
||||
.DummyTrigger0:
|
||||
end
|
||||
|
||||
.Trigger1:
|
||||
.DummyTrigger1:
|
||||
end
|
||||
|
||||
.InitializeSages:
|
||||
|
@ -8,19 +8,17 @@ const_value set 2
|
||||
EcruteakPokeCenter1F_MapScriptHeader:
|
||||
.MapTriggers:
|
||||
db 2
|
||||
|
||||
; triggers
|
||||
maptrigger .Trigger0
|
||||
maptrigger .Trigger1
|
||||
maptrigger .MeetBill
|
||||
maptrigger .DummyTrigger
|
||||
|
||||
.MapCallbacks:
|
||||
db 0
|
||||
|
||||
.Trigger0:
|
||||
.MeetBill:
|
||||
priorityjump .BillActivatesTimeCapsule
|
||||
end
|
||||
|
||||
.Trigger1:
|
||||
.DummyTrigger:
|
||||
end
|
||||
|
||||
.BillActivatesTimeCapsule:
|
||||
|
@ -9,61 +9,56 @@ const_value set 2
|
||||
ElmsLab_MapScriptHeader:
|
||||
.MapTriggers:
|
||||
db 6
|
||||
|
||||
; triggers
|
||||
maptrigger .Trigger0
|
||||
maptrigger .Trigger1
|
||||
maptrigger .Trigger2
|
||||
maptrigger .Trigger3
|
||||
maptrigger .Trigger4
|
||||
maptrigger .Trigger5
|
||||
maptrigger .MeetElm
|
||||
maptrigger .DummyTrigger1
|
||||
maptrigger .DummyTrigger2
|
||||
maptrigger .DummyTrigger3
|
||||
maptrigger .DummyTrigger4
|
||||
maptrigger .DummyTrigger5
|
||||
|
||||
.MapCallbacks:
|
||||
db 1
|
||||
dbw MAPCALLBACK_OBJECTS, .MoveElmCallback
|
||||
|
||||
; callbacks
|
||||
|
||||
dbw MAPCALLBACK_OBJECTS, .Callback_MoveElm
|
||||
|
||||
.Trigger0:
|
||||
priorityjump ElmsLab_AutowalkUpToElm
|
||||
.MeetElm:
|
||||
priorityjump .WalkUpToElm
|
||||
end
|
||||
|
||||
.Trigger1:
|
||||
.DummyTrigger1:
|
||||
end
|
||||
|
||||
.Trigger2:
|
||||
.DummyTrigger2:
|
||||
end
|
||||
|
||||
.Trigger3:
|
||||
.DummyTrigger3:
|
||||
end
|
||||
|
||||
.Trigger4:
|
||||
.DummyTrigger4:
|
||||
end
|
||||
|
||||
.Trigger5:
|
||||
.DummyTrigger5:
|
||||
end
|
||||
|
||||
.Callback_MoveElm:
|
||||
.MoveElmCallback:
|
||||
checktriggers
|
||||
iftrue .Skip
|
||||
moveperson ELMSLAB_ELM, $3, $4
|
||||
.Skip:
|
||||
return
|
||||
|
||||
ElmsLab_AutowalkUpToElm:
|
||||
.WalkUpToElm:
|
||||
applymovement PLAYER, ElmsLab_WalkUpToElmMovement
|
||||
showemote EMOTE_SHOCK, ELMSLAB_ELM, 15
|
||||
spriteface ELMSLAB_ELM, RIGHT
|
||||
opentext
|
||||
writetext ElmText_Intro
|
||||
ElmsLab_RefuseLoop:
|
||||
.MustSayYes:
|
||||
yesorno
|
||||
iftrue ElmsLab_ElmGetsEmail
|
||||
iftrue .ElmGetsEmail
|
||||
writetext ElmText_Refused
|
||||
jump ElmsLab_RefuseLoop
|
||||
jump .MustSayYes
|
||||
|
||||
ElmsLab_ElmGetsEmail:
|
||||
.ElmGetsEmail:
|
||||
writetext ElmText_Accepted
|
||||
buttonsound
|
||||
writetext ElmText_ResearchAmbitions
|
||||
|
@ -7,26 +7,24 @@ const_value set 2
|
||||
FastShip1F_MapScriptHeader:
|
||||
.MapTriggers:
|
||||
db 3
|
||||
|
||||
; triggers
|
||||
maptrigger .Trigger0
|
||||
maptrigger .Trigger1
|
||||
maptrigger .Trigger2
|
||||
maptrigger .DummyTrigger0
|
||||
maptrigger .EnterFastShip
|
||||
maptrigger .DummyTrigger2
|
||||
|
||||
.MapCallbacks:
|
||||
db 0
|
||||
|
||||
.Trigger0:
|
||||
.DummyTrigger0:
|
||||
end
|
||||
|
||||
.Trigger1:
|
||||
priorityjump .PriorityJump2
|
||||
.EnterFastShip:
|
||||
priorityjump .EnterFastShipScript
|
||||
end
|
||||
|
||||
.Trigger2:
|
||||
.DummyTrigger2:
|
||||
end
|
||||
|
||||
.PriorityJump2:
|
||||
.EnterFastShipScript:
|
||||
applymovement FASTSHIP1F_SAILOR1, MovementData_0x7520e
|
||||
applymovement PLAYER, MovementData_0x75217
|
||||
applymovement FASTSHIP1F_SAILOR1, MovementData_0x75211
|
||||
|
@ -15,18 +15,16 @@ const_value set 2
|
||||
FastShipB1F_MapScriptHeader:
|
||||
.MapTriggers:
|
||||
db 2
|
||||
|
||||
; triggers
|
||||
dw UnknownScript_0x7673a, 0
|
||||
dw UnknownScript_0x7673b, 0
|
||||
maptrigger .DummyTrigger0
|
||||
maptrigger .DummyTrigger1
|
||||
|
||||
.MapCallbacks:
|
||||
db 0
|
||||
|
||||
UnknownScript_0x7673a:
|
||||
.DummyTrigger0:
|
||||
end
|
||||
|
||||
UnknownScript_0x7673b:
|
||||
.DummyTrigger1:
|
||||
end
|
||||
|
||||
UnknownScript_0x7673c:
|
||||
|
@ -10,8 +10,6 @@ FuchsiaCity_MapScriptHeader:
|
||||
|
||||
.MapCallbacks:
|
||||
db 1
|
||||
|
||||
; callbacks
|
||||
dbw MAPCALLBACK_NEWMAP, .FlyPoint
|
||||
|
||||
.FlyPoint:
|
||||
|
@ -7,14 +7,12 @@ const_value set 2
|
||||
FuchsiaPokeCenter1F_MapScriptHeader:
|
||||
.MapTriggers:
|
||||
db 1
|
||||
|
||||
; triggers
|
||||
dw UnknownScript_0x196458, 0
|
||||
maptrigger .DummyTrigger
|
||||
|
||||
.MapCallbacks:
|
||||
db 0
|
||||
|
||||
UnknownScript_0x196458:
|
||||
.DummyTrigger:
|
||||
end
|
||||
|
||||
NurseScript_0x196459:
|
||||
|
@ -21,8 +21,6 @@ GoldenrodCity_MapScriptHeader:
|
||||
|
||||
.MapCallbacks:
|
||||
db 2
|
||||
|
||||
; callbacks
|
||||
dbw MAPCALLBACK_NEWMAP, .FlyPointAndFloria
|
||||
dbw MAPCALLBACK_OBJECTS, .MoveTutor
|
||||
|
||||
|
@ -12,9 +12,6 @@ GoldenrodDeptStore5F_MapScriptHeader:
|
||||
|
||||
.MapCallbacks:
|
||||
db 1
|
||||
|
||||
; callbacks
|
||||
|
||||
dbw MAPCALLBACK_OBJECTS, .CheckIfSunday
|
||||
|
||||
.CheckIfSunday:
|
||||
|
@ -14,11 +14,7 @@ GoldenrodDeptStoreB1F_MapScriptHeader:
|
||||
|
||||
.MapCallbacks:
|
||||
db 2
|
||||
|
||||
; callbacks
|
||||
|
||||
dbw MAPCALLBACK_TILES, UnknownScript_0x7d781
|
||||
|
||||
dbw MAPCALLBACK_NEWMAP, UnknownScript_0x7d7ac
|
||||
|
||||
UnknownScript_0x7d781:
|
||||
|
@ -14,11 +14,7 @@ GoldenrodDeptStoreRoof_MapScriptHeader:
|
||||
|
||||
.MapCallbacks:
|
||||
db 2
|
||||
|
||||
; callbacks
|
||||
|
||||
dbw MAPCALLBACK_TILES, .CheckSaleChangeBlock
|
||||
|
||||
dbw MAPCALLBACK_OBJECTS, .CheckSaleChangeClerk
|
||||
|
||||
.CheckSaleChangeBlock:
|
||||
|
@ -18,9 +18,6 @@ GoldenrodGameCorner_MapScriptHeader:
|
||||
|
||||
.MapCallbacks:
|
||||
db 1
|
||||
|
||||
; callbacks
|
||||
|
||||
dbw MAPCALLBACK_OBJECTS, .Callback
|
||||
|
||||
.Callback:
|
||||
|
@ -9,18 +9,16 @@ const_value set 2
|
||||
GoldenrodGym_MapScriptHeader:
|
||||
.MapTriggers:
|
||||
db 2
|
||||
|
||||
; triggers
|
||||
dw UnknownScript_0x5400a, 0
|
||||
dw UnknownScript_0x5400b, 0
|
||||
maptrigger .DummyTrigger0
|
||||
maptrigger .DummyTrigger1
|
||||
|
||||
.MapCallbacks:
|
||||
db 0
|
||||
|
||||
UnknownScript_0x5400a:
|
||||
.DummyTrigger0:
|
||||
end
|
||||
|
||||
UnknownScript_0x5400b:
|
||||
.DummyTrigger1:
|
||||
end
|
||||
|
||||
WhitneyScript_0x5400c:
|
||||
|
@ -5,14 +5,12 @@ const_value set 2
|
||||
GoldenrodMagnetTrainStation_MapScriptHeader:
|
||||
.MapTriggers:
|
||||
db 1
|
||||
|
||||
; triggers
|
||||
maptrigger .Trigger0
|
||||
maptrigger .DummyTrigger
|
||||
|
||||
.MapCallbacks:
|
||||
db 0
|
||||
|
||||
.Trigger0:
|
||||
.DummyTrigger:
|
||||
end
|
||||
|
||||
OfficerScript_0x550ec:
|
||||
|
@ -53,10 +53,10 @@ MenuDataHeader_0x62602:
|
||||
db $40 ; flags
|
||||
db 00, 00 ; start coords
|
||||
db 08, 15 ; end coords
|
||||
dw MenuData2_0x6260a
|
||||
dw .MenuData2
|
||||
db 1 ; default option
|
||||
|
||||
MenuData2_0x6260a:
|
||||
.MenuData2:
|
||||
db $80 ; flags
|
||||
db 3 ; items
|
||||
db "# つうしん クラブ@" ; # COM CLUB
|
||||
@ -98,10 +98,10 @@ MenuDataHeader_0x6264c:
|
||||
db $40 ; flags
|
||||
db 00, 00 ; start coords
|
||||
db 08, 15 ; end coords
|
||||
dw MenuData2_0x62654
|
||||
dw .MenuData2
|
||||
db 1 ; default option
|
||||
|
||||
MenuData2_0x62654:
|
||||
.MenuData2:
|
||||
db $80 ; flags
|
||||
db 3 ; items
|
||||
db "でんわ", $1f,"つかうとき@" ; Use phone
|
||||
|
@ -4,22 +4,20 @@ const_value set 2
|
||||
HallOfFame_MapScriptHeader:
|
||||
.MapTriggers:
|
||||
db 2
|
||||
|
||||
; triggers
|
||||
maptrigger .Trigger0
|
||||
maptrigger .Trigger1
|
||||
maptrigger .EnterHallOfFame
|
||||
maptrigger .DummyTrigger
|
||||
|
||||
.MapCallbacks:
|
||||
db 0
|
||||
|
||||
.Trigger0:
|
||||
priorityjump HallOfFameScript
|
||||
.EnterHallOfFame:
|
||||
priorityjump .EnterHallOfFameScript
|
||||
end
|
||||
|
||||
.Trigger1:
|
||||
.DummyTrigger:
|
||||
end
|
||||
|
||||
HallOfFameScript:
|
||||
.EnterHallOfFameScript:
|
||||
follow HALLOFFAME_LANCE, PLAYER
|
||||
applymovement HALLOFFAME_LANCE, HallOfFame_WalkUpWithLance
|
||||
stopfollow
|
||||
|
@ -11,9 +11,6 @@ IcePathB1F_MapScriptHeader:
|
||||
|
||||
.MapCallbacks:
|
||||
db 1
|
||||
|
||||
; callbacks
|
||||
|
||||
dbw MAPCALLBACK_CMDQUEUE, .SetUpStoneTable
|
||||
|
||||
.SetUpStoneTable:
|
||||
|
@ -17,9 +17,6 @@ IlexForest_MapScriptHeader:
|
||||
|
||||
.MapCallbacks:
|
||||
db 1
|
||||
|
||||
; callbacks
|
||||
|
||||
dbw MAPCALLBACK_OBJECTS, .FarfetchdCallback
|
||||
|
||||
.FarfetchdCallback:
|
||||
|
@ -9,21 +9,16 @@ const_value set 2
|
||||
IndigoPlateauPokeCenter1F_MapScriptHeader:
|
||||
.MapTriggers:
|
||||
db 1
|
||||
|
||||
; triggers
|
||||
dw UnknownScript_0x180009, 0
|
||||
maptrigger .DummyTrigger
|
||||
|
||||
.MapCallbacks:
|
||||
db 1
|
||||
dbw MAPCALLBACK_NEWMAP, .PrepareElite4
|
||||
|
||||
; callbacks
|
||||
|
||||
dbw MAPCALLBACK_NEWMAP, UnknownScript_0x18000a
|
||||
|
||||
UnknownScript_0x180009:
|
||||
.DummyTrigger:
|
||||
end
|
||||
|
||||
UnknownScript_0x18000a:
|
||||
.PrepareElite4:
|
||||
domaptrigger WILLS_ROOM, $0
|
||||
domaptrigger KOGAS_ROOM, $0
|
||||
domaptrigger BRUNOS_ROOM, $0
|
||||
|
@ -4,23 +4,18 @@ const_value set 2
|
||||
KarensRoom_MapScriptHeader:
|
||||
.MapTriggers:
|
||||
db 2
|
||||
|
||||
; triggers
|
||||
dw .Trigger0, 0
|
||||
dw .Trigger1, 0
|
||||
maptrigger .LockDoor
|
||||
maptrigger .DummyTrigger
|
||||
|
||||
.MapCallbacks:
|
||||
db 1
|
||||
|
||||
; callbacks
|
||||
|
||||
dbw MAPCALLBACK_TILES, .KarensRoomDoors
|
||||
|
||||
.Trigger0:
|
||||
.LockDoor:
|
||||
priorityjump .KarensDoorLocksBehindYou
|
||||
end
|
||||
|
||||
.Trigger1:
|
||||
.DummyTrigger:
|
||||
end
|
||||
|
||||
.KarensRoomDoors:
|
||||
|
@ -4,23 +4,18 @@ const_value set 2
|
||||
KogasRoom_MapScriptHeader:
|
||||
.MapTriggers:
|
||||
db 2
|
||||
|
||||
; triggers
|
||||
dw .Trigger0, 0
|
||||
dw .Trigger1, 0
|
||||
maptrigger .LockDoor
|
||||
maptrigger .DummyTrigger
|
||||
|
||||
.MapCallbacks:
|
||||
db 1
|
||||
|
||||
; callbacks
|
||||
|
||||
dbw MAPCALLBACK_TILES, .KogasRoomDoors
|
||||
|
||||
.Trigger0:
|
||||
.LockDoor:
|
||||
priorityjump .KogasDoorLocksBehindYou
|
||||
end
|
||||
|
||||
.Trigger1:
|
||||
.DummyTrigger:
|
||||
end
|
||||
|
||||
.KogasRoomDoors:
|
||||
|
@ -8,18 +8,16 @@ const_value set 2
|
||||
KrissHouse1F_MapScriptHeader:
|
||||
.MapTriggers:
|
||||
db 2
|
||||
|
||||
; triggers
|
||||
dw UnknownScript_0x7a4d6, 0
|
||||
dw UnknownScript_0x7a4d7, 0
|
||||
maptrigger .DummyTrigger0
|
||||
maptrigger .DummyTrigger1
|
||||
|
||||
.MapCallbacks:
|
||||
db 0
|
||||
|
||||
UnknownScript_0x7a4d6:
|
||||
.DummyTrigger0:
|
||||
end
|
||||
|
||||
UnknownScript_0x7a4d7:
|
||||
.DummyTrigger1:
|
||||
end
|
||||
|
||||
UnknownScript_0x7a4d8:
|
||||
|
@ -10,11 +10,7 @@ KrissHouse2F_MapScriptHeader:
|
||||
|
||||
.MapCallbacks:
|
||||
db 2
|
||||
|
||||
; callbacks
|
||||
|
||||
dbw MAPCALLBACK_NEWMAP, .InitializeRoom
|
||||
|
||||
dbw MAPCALLBACK_TILES, .SetSpawn
|
||||
|
||||
.Null:
|
||||
@ -53,6 +49,7 @@ GameConsole:
|
||||
|
||||
KrissHousePoster:
|
||||
dw EVENT_KRISS_ROOM_POSTER, .Script
|
||||
|
||||
.Script:
|
||||
describedecoration 0
|
||||
|
||||
|
@ -11,30 +11,27 @@ KurtsHouse_MapScriptHeader:
|
||||
|
||||
.MapCallbacks:
|
||||
db 1
|
||||
dbw MAPCALLBACK_OBJECTS, .KurtCallback
|
||||
|
||||
; callbacks
|
||||
|
||||
dbw MAPCALLBACK_OBJECTS, UnknownScript_0x18e154
|
||||
|
||||
UnknownScript_0x18e154:
|
||||
.KurtCallback:
|
||||
checkevent EVENT_CLEARED_SLOWPOKE_WELL
|
||||
iffalse UnknownScript_0x18e177
|
||||
iffalse .Done
|
||||
checkevent EVENT_FOREST_IS_RESTLESS
|
||||
iftrue UnknownScript_0x18e177
|
||||
iftrue .Done
|
||||
checkflag ENGINE_KURT_MAKING_BALLS
|
||||
iftrue UnknownScript_0x18e16f
|
||||
iftrue .MakingBalls
|
||||
disappear KURTSHOUSE_KURT2
|
||||
appear KURTSHOUSE_KURT1
|
||||
disappear KURTSHOUSE_TWIN2
|
||||
appear KURTSHOUSE_TWIN1
|
||||
return
|
||||
|
||||
UnknownScript_0x18e16f:
|
||||
.MakingBalls:
|
||||
disappear KURTSHOUSE_KURT1
|
||||
appear KURTSHOUSE_KURT2
|
||||
disappear KURTSHOUSE_TWIN1
|
||||
appear KURTSHOUSE_TWIN2
|
||||
UnknownScript_0x18e177:
|
||||
.Done:
|
||||
return
|
||||
|
||||
KurtScript_0x18e178:
|
||||
|
@ -15,23 +15,18 @@ const_value set 2
|
||||
LakeOfRage_MapScriptHeader:
|
||||
.MapTriggers:
|
||||
db 2
|
||||
|
||||
; triggers
|
||||
maptrigger .Trigger0
|
||||
maptrigger .Trigger1
|
||||
maptrigger .DummyTrigger0
|
||||
maptrigger .DummyTrigger1
|
||||
|
||||
.MapCallbacks:
|
||||
db 2
|
||||
|
||||
; callbacks
|
||||
|
||||
dbw MAPCALLBACK_NEWMAP, .FlyPoint
|
||||
dbw MAPCALLBACK_OBJECTS, .Wesley
|
||||
|
||||
.Trigger0:
|
||||
.DummyTrigger0:
|
||||
end
|
||||
|
||||
.Trigger1:
|
||||
.DummyTrigger1:
|
||||
end
|
||||
|
||||
.FlyPoint:
|
||||
|
@ -6,37 +6,32 @@ const_value set 2
|
||||
LancesRoom_MapScriptHeader:
|
||||
.MapTriggers:
|
||||
db 2
|
||||
|
||||
; triggers
|
||||
dw .Trigger0, 0
|
||||
dw .Trigger1, 0
|
||||
maptrigger .LockDoor
|
||||
maptrigger .DummyTrigger
|
||||
|
||||
.MapCallbacks:
|
||||
db 1
|
||||
dbw MAPCALLBACK_TILES, .LancesRoomDoors
|
||||
|
||||
; callbacks
|
||||
|
||||
dbw MAPCALLBACK_TILES, .CheckDoor
|
||||
|
||||
.Trigger0:
|
||||
priorityjump LancesRoom_PlayerWalksIn_DoorsCloseBehind
|
||||
.LockDoor:
|
||||
priorityjump .LancesDoorLocksBehindYou
|
||||
end
|
||||
|
||||
.Trigger1:
|
||||
.DummyTrigger:
|
||||
end
|
||||
|
||||
.CheckDoor:
|
||||
.LancesRoomDoors:
|
||||
checkevent EVENT_LANCES_ROOM_ENTRANCE_CLOSED
|
||||
iffalse .LanceEntranceOpen
|
||||
iffalse .KeepDoorsClosed
|
||||
changeblock $4, $16, $34
|
||||
.LanceEntranceOpen:
|
||||
.KeepDoorsClosed:
|
||||
checkevent EVENT_LANCES_ROOM_EXIT_OPEN
|
||||
iffalse .LanceExitClosed
|
||||
iffalse .OpenDoors
|
||||
changeblock $4, $0, $b
|
||||
.LanceExitClosed:
|
||||
.OpenDoors:
|
||||
return
|
||||
|
||||
LancesRoom_PlayerWalksIn_DoorsCloseBehind:
|
||||
.LancesDoorLocksBehindYou:
|
||||
applymovement PLAYER, LancesRoom_PlayerWalksInMovementData
|
||||
refreshscreen $86
|
||||
playsound SFX_STRENGTH
|
||||
|
@ -4,14 +4,12 @@ const_value set 2
|
||||
LavenderNameRater_MapScriptHeader:
|
||||
.MapTriggers:
|
||||
db 1
|
||||
|
||||
; triggers
|
||||
dw UnknownScript_0x7eaf1, 0
|
||||
maptrigger .DummyTrigger
|
||||
|
||||
.MapCallbacks:
|
||||
db 0
|
||||
|
||||
UnknownScript_0x7eaf1:
|
||||
.DummyTrigger:
|
||||
end
|
||||
|
||||
LavenderNameRater:
|
||||
@ -22,8 +20,7 @@ LavenderNameRater:
|
||||
closetext
|
||||
end
|
||||
|
||||
LavenderNameRaterBookshelf:
|
||||
; unused
|
||||
LavenderNameRaterUnusedBookshelf:
|
||||
jumpstd difficultbookshelf
|
||||
|
||||
LavenderNameRater_MapEventHeader:
|
||||
|
@ -10,8 +10,6 @@ LavenderTown_MapScriptHeader:
|
||||
|
||||
.MapCallbacks:
|
||||
db 1
|
||||
|
||||
; callbacks
|
||||
dbw MAPCALLBACK_NEWMAP, .FlyPoint
|
||||
|
||||
.FlyPoint:
|
||||
|
@ -8,31 +8,26 @@ const_value set 2
|
||||
MahoganyMart1F_MapScriptHeader:
|
||||
.MapTriggers:
|
||||
db 2
|
||||
|
||||
; triggers
|
||||
dw UnknownScript_0x6c356, 0
|
||||
dw UnknownScript_0x6c357, 0
|
||||
maptrigger .DummyTrigger0
|
||||
maptrigger .LanceUncoversStaircase
|
||||
|
||||
.MapCallbacks:
|
||||
db 1
|
||||
dbw MAPCALLBACK_TILES, .MahoganyMart1FStaircase
|
||||
|
||||
; callbacks
|
||||
|
||||
dbw MAPCALLBACK_TILES, UnknownScript_0x6c35b
|
||||
|
||||
UnknownScript_0x6c356:
|
||||
.DummyTrigger0:
|
||||
end
|
||||
|
||||
UnknownScript_0x6c357:
|
||||
.LanceUncoversStaircase:
|
||||
priorityjump UnknownScript_0x6c38f
|
||||
end
|
||||
|
||||
UnknownScript_0x6c35b:
|
||||
.MahoganyMart1FStaircase:
|
||||
checkevent EVENT_UNCOVERED_STAIRCASE_IN_MAHOGANY_MART
|
||||
iftrue UnknownScript_0x6c362
|
||||
iftrue .ShowStairs
|
||||
return
|
||||
|
||||
UnknownScript_0x6c362:
|
||||
.ShowStairs:
|
||||
changeblock $6, $2, $1e
|
||||
return
|
||||
|
||||
|
@ -7,21 +7,17 @@ const_value set 2
|
||||
MahoganyTown_MapScriptHeader:
|
||||
.MapTriggers:
|
||||
db 2
|
||||
|
||||
; triggers
|
||||
maptrigger .Trigger0
|
||||
maptrigger .Trigger1
|
||||
maptrigger .DummyTrigger0
|
||||
maptrigger .DummyTrigger1
|
||||
|
||||
.MapCallbacks:
|
||||
db 1
|
||||
|
||||
; callbacks
|
||||
dbw MAPCALLBACK_NEWMAP, .FlyPoint
|
||||
|
||||
.Trigger0:
|
||||
.DummyTrigger0:
|
||||
end
|
||||
|
||||
.Trigger1:
|
||||
.DummyTrigger1:
|
||||
end
|
||||
|
||||
.FlyPoint:
|
||||
|
@ -1,22 +1,20 @@
|
||||
MobileBattleRoom_MapScriptHeader:
|
||||
.MapTriggers:
|
||||
db 2
|
||||
|
||||
; triggers
|
||||
maptrigger .Trigger0
|
||||
maptrigger .Trigger1
|
||||
maptrigger .InitializeMobileBattleRoom
|
||||
maptrigger .DummyTrigger
|
||||
|
||||
.MapCallbacks:
|
||||
db 0
|
||||
|
||||
.Trigger0:
|
||||
priorityjump MobileBattleRoom_Initialize
|
||||
.InitializeMobileBattleRoom:
|
||||
priorityjump .InitializeAndPreparePokeCenter2F
|
||||
end
|
||||
|
||||
.Trigger1:
|
||||
.DummyTrigger:
|
||||
end
|
||||
|
||||
MobileBattleRoom_Initialize:
|
||||
.InitializeAndPreparePokeCenter2F:
|
||||
dotrigger $1
|
||||
domaptrigger POKECENTER_2F, $5
|
||||
end
|
||||
|
@ -1,22 +1,20 @@
|
||||
MobileTradeRoomMobile_MapScriptHeader:
|
||||
.MapTriggers:
|
||||
db 2
|
||||
|
||||
; triggers
|
||||
maptrigger .Trigger0
|
||||
maptrigger .Trigger1
|
||||
maptrigger .InitializeMobileTradeRoomMobile
|
||||
maptrigger .DummyTrigger
|
||||
|
||||
.MapCallbacks:
|
||||
db 0
|
||||
|
||||
.Trigger0:
|
||||
priorityjump MobileTradeRoomMobile_Initialize
|
||||
.InitializeMobileTradeRoomMobile:
|
||||
priorityjump .InitializeAndPreparePokeCenter2F
|
||||
end
|
||||
|
||||
.Trigger1:
|
||||
.DummyTrigger:
|
||||
end
|
||||
|
||||
MobileTradeRoomMobile_Initialize:
|
||||
.InitializeAndPreparePokeCenter2F:
|
||||
dotrigger $1
|
||||
domaptrigger POKECENTER_2F, $4
|
||||
end
|
||||
|
@ -4,19 +4,17 @@ const_value set 2
|
||||
MountMoon_MapScriptHeader:
|
||||
.MapTriggers:
|
||||
db 2
|
||||
|
||||
; triggers
|
||||
maptrigger .Trigger0
|
||||
maptrigger .Trigger1
|
||||
maptrigger .RivalEncounter
|
||||
maptrigger .DummyTrigger
|
||||
|
||||
.MapCallbacks:
|
||||
db 0
|
||||
|
||||
.Trigger0:
|
||||
.RivalEncounter:
|
||||
priorityjump .RivalBattle
|
||||
end
|
||||
|
||||
.Trigger1:
|
||||
.DummyTrigger:
|
||||
end
|
||||
|
||||
.RivalBattle:
|
||||
|
@ -6,19 +6,14 @@ const_value set 2
|
||||
MountMoonSquare_MapScriptHeader:
|
||||
.MapTriggers:
|
||||
db 1
|
||||
|
||||
; triggers
|
||||
dw .Trigger0, 0
|
||||
maptrigger .DummyTrigger
|
||||
|
||||
.MapCallbacks:
|
||||
db 2
|
||||
|
||||
; callbacks
|
||||
|
||||
dbw MAPCALLBACK_NEWMAP, .DisappearMoonStone
|
||||
dbw MAPCALLBACK_OBJECTS, .DisappearRock
|
||||
|
||||
.Trigger0:
|
||||
.DummyTrigger:
|
||||
end
|
||||
|
||||
.DisappearMoonStone:
|
||||
|
@ -5,19 +5,17 @@ const_value set 2
|
||||
MrPokemonsHouse_MapScriptHeader:
|
||||
.MapTriggers:
|
||||
db 2
|
||||
|
||||
; triggers
|
||||
maptrigger .Trigger0
|
||||
maptrigger .Trigger1
|
||||
maptrigger .MeetMrPokemon
|
||||
maptrigger .DummyTrigger
|
||||
|
||||
.MapCallbacks:
|
||||
db 0
|
||||
|
||||
.Trigger0:
|
||||
.MeetMrPokemon:
|
||||
priorityjump .MrPokemonEvent
|
||||
end
|
||||
|
||||
.Trigger1:
|
||||
.DummyTrigger:
|
||||
end
|
||||
|
||||
.MrPokemonEvent:
|
||||
|
@ -6,21 +6,17 @@ const_value set 2
|
||||
NewBarkTown_MapScriptHeader:
|
||||
.MapTriggers:
|
||||
db 2
|
||||
|
||||
; triggers
|
||||
maptrigger .Trigger0
|
||||
maptrigger .Trigger1
|
||||
maptrigger .DummyTrigger0
|
||||
maptrigger .DummyTrigger1
|
||||
|
||||
.MapCallbacks:
|
||||
db 1
|
||||
|
||||
; callbacks
|
||||
dbw MAPCALLBACK_NEWMAP, .FlyPoint
|
||||
|
||||
.Trigger0:
|
||||
.DummyTrigger0:
|
||||
end
|
||||
|
||||
.Trigger1:
|
||||
.DummyTrigger1:
|
||||
end
|
||||
|
||||
.FlyPoint:
|
||||
|
@ -7,21 +7,17 @@ const_value set 2
|
||||
OlivineCity_MapScriptHeader:
|
||||
.MapTriggers:
|
||||
db 2
|
||||
|
||||
; triggers
|
||||
maptrigger .Trigger0
|
||||
maptrigger .Trigger1
|
||||
maptrigger .DummyTrigger0
|
||||
maptrigger .DummyTrigger1
|
||||
|
||||
.MapCallbacks:
|
||||
db 1
|
||||
|
||||
; callbacks
|
||||
dbw MAPCALLBACK_NEWMAP, .FlyPoint
|
||||
|
||||
.Trigger0:
|
||||
.DummyTrigger0:
|
||||
end
|
||||
|
||||
.Trigger1:
|
||||
.DummyTrigger1:
|
||||
end
|
||||
|
||||
.FlyPoint:
|
||||
|
@ -10,22 +10,20 @@ const_value set 2
|
||||
OlivinePort_MapScriptHeader:
|
||||
.MapTriggers:
|
||||
db 2
|
||||
|
||||
; triggers
|
||||
dw UnknownScript_0x748ac, 0
|
||||
dw UnknownScript_0x748ad, 0
|
||||
maptrigger .DummyTrigger0
|
||||
maptrigger .LeaveFastShip
|
||||
|
||||
.MapCallbacks:
|
||||
db 0
|
||||
|
||||
UnknownScript_0x748ac:
|
||||
.DummyTrigger0:
|
||||
end
|
||||
|
||||
UnknownScript_0x748ad:
|
||||
priorityjump UnknownScript_0x748b1
|
||||
.LeaveFastShip:
|
||||
priorityjump .LeaveFastShipScript
|
||||
end
|
||||
|
||||
UnknownScript_0x748b1:
|
||||
.LeaveFastShipScript:
|
||||
applymovement PLAYER, MovementData_0x74a32
|
||||
appear OLIVINEPORT_SAILOR1
|
||||
dotrigger $0
|
||||
|
@ -8,8 +8,6 @@ PalletTown_MapScriptHeader:
|
||||
|
||||
.MapCallbacks:
|
||||
db 1
|
||||
|
||||
; callbacks
|
||||
dbw MAPCALLBACK_NEWMAP, .FlyPoint
|
||||
|
||||
.FlyPoint:
|
||||
|
@ -11,8 +11,6 @@ PewterCity_MapScriptHeader:
|
||||
|
||||
.MapCallbacks:
|
||||
db 1
|
||||
|
||||
; callbacks
|
||||
dbw MAPCALLBACK_NEWMAP, .FlyPoint
|
||||
|
||||
.FlyPoint:
|
||||
|
@ -7,8 +7,6 @@ const_value set 2
|
||||
PokeCenter2F_MapScriptHeader:
|
||||
.MapTriggers:
|
||||
db 6
|
||||
|
||||
; triggers
|
||||
maptrigger .Trigger0
|
||||
maptrigger .Trigger1
|
||||
maptrigger .Trigger2
|
||||
|
@ -10,18 +10,16 @@ const_value set 2
|
||||
PowerPlant_MapScriptHeader:
|
||||
.MapTriggers:
|
||||
db 2
|
||||
|
||||
; triggers
|
||||
dw UnknownScript_0x188dc3, 0
|
||||
dw UnknownScript_0x188dc4, 0
|
||||
maptrigger .DummyTrigger0
|
||||
maptrigger .DummyTrigger1
|
||||
|
||||
.MapCallbacks:
|
||||
db 0
|
||||
|
||||
UnknownScript_0x188dc3:
|
||||
.DummyTrigger0:
|
||||
end
|
||||
|
||||
UnknownScript_0x188dc4:
|
||||
.DummyTrigger1:
|
||||
end
|
||||
|
||||
PowerPlantGuardPhoneScript:
|
||||
|
@ -13,12 +13,9 @@ RadioTower3F_MapScriptHeader:
|
||||
|
||||
.MapCallbacks:
|
||||
db 1
|
||||
dbw MAPCALLBACK_TILES, .CardKeyShutterCallback
|
||||
|
||||
; callbacks
|
||||
|
||||
dbw MAPCALLBACK_TILES, CardKeyShutterCallback
|
||||
|
||||
CardKeyShutterCallback:
|
||||
.CardKeyShutterCallback:
|
||||
checkevent EVENT_USED_THE_CARD_KEY_IN_THE_RADIO_TOWER
|
||||
iftrue .Change
|
||||
return
|
||||
|
@ -8,22 +8,20 @@ const_value set 2
|
||||
RadioTower5F_MapScriptHeader:
|
||||
.MapTriggers:
|
||||
db 3
|
||||
|
||||
; triggers
|
||||
maptrigger .Trigger0
|
||||
maptrigger .Trigger1
|
||||
maptrigger .Trigger2
|
||||
maptrigger .DummyTrigger0
|
||||
maptrigger .DummyTrigger1
|
||||
maptrigger .DummyTrigger2
|
||||
|
||||
.MapCallbacks:
|
||||
db 0
|
||||
|
||||
.Trigger0:
|
||||
.DummyTrigger0:
|
||||
end
|
||||
|
||||
.Trigger1:
|
||||
.DummyTrigger1:
|
||||
end
|
||||
|
||||
.Trigger2:
|
||||
.DummyTrigger2:
|
||||
end
|
||||
|
||||
FakeDirectorScript:
|
||||
|
@ -4,14 +4,12 @@ const_value set 2
|
||||
RedsHouse1F_MapScriptHeader:
|
||||
.MapTriggers:
|
||||
db 1
|
||||
|
||||
; triggers
|
||||
dw .Trigger, 0
|
||||
maptrigger .DummyTrigger
|
||||
|
||||
.MapCallbacks:
|
||||
db 0
|
||||
|
||||
.Trigger:
|
||||
.DummyTrigger:
|
||||
end
|
||||
|
||||
RedsMom:
|
||||
|
@ -4,20 +4,17 @@ Route16_MapScriptHeader:
|
||||
|
||||
.MapCallbacks:
|
||||
db 1
|
||||
dbw MAPCALLBACK_NEWMAP, .AlwaysOnBike
|
||||
|
||||
; callbacks
|
||||
|
||||
dbw MAPCALLBACK_NEWMAP, UnknownScript_0x1ad318
|
||||
|
||||
UnknownScript_0x1ad318:
|
||||
.AlwaysOnBike:
|
||||
checkcode VAR_YCOORD
|
||||
if_less_than $5, UnknownScript_0x1ad328
|
||||
if_less_than $5, .CanWalk
|
||||
checkcode VAR_XCOORD
|
||||
if_greater_than $d, UnknownScript_0x1ad328
|
||||
if_greater_than $d, .CanWalk
|
||||
setflag ENGINE_ALWAYS_ON_BIKE
|
||||
return
|
||||
|
||||
UnknownScript_0x1ad328:
|
||||
.CanWalk:
|
||||
clearflag ENGINE_ALWAYS_ON_BIKE
|
||||
return
|
||||
|
||||
|
@ -4,14 +4,12 @@ const_value set 2
|
||||
Route16Gate_MapScriptHeader:
|
||||
.MapTriggers:
|
||||
db 1
|
||||
|
||||
; triggers
|
||||
dw UnknownScript_0x733e9, 0
|
||||
maptrigger .DummyTrigger
|
||||
|
||||
.MapCallbacks:
|
||||
db 0
|
||||
|
||||
UnknownScript_0x733e9:
|
||||
.DummyTrigger:
|
||||
end
|
||||
|
||||
OfficerScript_0x733ea:
|
||||
|
@ -10,12 +10,9 @@ Route17_MapScriptHeader:
|
||||
|
||||
.MapCallbacks:
|
||||
db 1
|
||||
dbw MAPCALLBACK_NEWMAP, .AlwaysOnBike
|
||||
|
||||
; callbacks
|
||||
|
||||
dbw MAPCALLBACK_NEWMAP, UnknownScript_0x1ad0ab
|
||||
|
||||
UnknownScript_0x1ad0ab:
|
||||
.AlwaysOnBike:
|
||||
setflag ENGINE_ALWAYS_ON_BIKE
|
||||
setflag ENGINE_DOWNHILL
|
||||
return
|
||||
|
@ -4,14 +4,12 @@ const_value set 2
|
||||
Route1718Gate_MapScriptHeader:
|
||||
.MapTriggers:
|
||||
db 1
|
||||
|
||||
; triggers
|
||||
dw UnknownScript_0x7360d, 0
|
||||
maptrigger .DummyTrigger
|
||||
|
||||
.MapCallbacks:
|
||||
db 0
|
||||
|
||||
UnknownScript_0x7360d:
|
||||
.DummyTrigger:
|
||||
end
|
||||
|
||||
OfficerScript_0x7360e:
|
||||
|
@ -12,9 +12,6 @@ Route19_MapScriptHeader:
|
||||
|
||||
.MapCallbacks:
|
||||
db 1
|
||||
|
||||
; callbacks
|
||||
|
||||
dbw MAPCALLBACK_TILES, .ClearRocks
|
||||
|
||||
.ClearRocks:
|
||||
|
@ -9,9 +9,6 @@ Route20_MapScriptHeader:
|
||||
|
||||
.MapCallbacks:
|
||||
db 1
|
||||
|
||||
; callbacks
|
||||
|
||||
dbw MAPCALLBACK_NEWMAP, .ClearRocks
|
||||
|
||||
.ClearRocks:
|
||||
|
@ -4,8 +4,6 @@ Route23_MapScriptHeader:
|
||||
|
||||
.MapCallbacks:
|
||||
db 1
|
||||
|
||||
; callbacks
|
||||
dbw MAPCALLBACK_NEWMAP, .FlyPoint
|
||||
|
||||
.FlyPoint:
|
||||
|
@ -14,18 +14,16 @@ const_value set 2
|
||||
Route25_MapScriptHeader:
|
||||
.MapTriggers:
|
||||
db 2
|
||||
|
||||
; triggers
|
||||
dw UnknownScript_0x19ee9e, 0
|
||||
dw UnknownScript_0x19ee9f, 0
|
||||
maptrigger .DummyTrigger0
|
||||
maptrigger .DummyTrigger1
|
||||
|
||||
.MapCallbacks:
|
||||
db 0
|
||||
|
||||
UnknownScript_0x19ee9e:
|
||||
.DummyTrigger0:
|
||||
end
|
||||
|
||||
UnknownScript_0x19ee9f:
|
||||
.DummyTrigger1:
|
||||
end
|
||||
|
||||
UnknownScript_0x19eea0:
|
||||
|
@ -12,18 +12,16 @@ const_value set 2
|
||||
Route27_MapScriptHeader:
|
||||
.MapTriggers:
|
||||
db 2
|
||||
|
||||
; triggers
|
||||
dw UnknownScript_0x1a0871, 0
|
||||
dw UnknownScript_0x1a0872, 0
|
||||
maptrigger .DummyTrigger0
|
||||
maptrigger .DummyTrigger1
|
||||
|
||||
.MapCallbacks:
|
||||
db 0
|
||||
|
||||
UnknownScript_0x1a0871:
|
||||
.DummyTrigger0:
|
||||
end
|
||||
|
||||
UnknownScript_0x1a0872:
|
||||
.DummyTrigger1:
|
||||
end
|
||||
|
||||
UnknownScript_0x1a0873:
|
||||
|
@ -5,14 +5,12 @@ const_value set 2
|
||||
Route28FamousSpeechHouse_MapScriptHeader:
|
||||
.MapTriggers:
|
||||
db 1
|
||||
|
||||
; triggers
|
||||
dw .Trigger, 0
|
||||
maptrigger .DummyTrigger
|
||||
|
||||
.MapCallbacks:
|
||||
db 0
|
||||
|
||||
.Trigger:
|
||||
.DummyTrigger:
|
||||
end
|
||||
|
||||
Celebrity:
|
||||
|
@ -11,22 +11,17 @@ const_value set 2
|
||||
Route29_MapScriptHeader:
|
||||
.MapTriggers:
|
||||
db 2
|
||||
|
||||
; triggers
|
||||
maptrigger .Trigger0
|
||||
maptrigger .Trigger1
|
||||
maptrigger .DummyTrigger0
|
||||
maptrigger .DummyTrigger1
|
||||
|
||||
.MapCallbacks:
|
||||
db 1
|
||||
|
||||
; callbacks
|
||||
|
||||
dbw MAPCALLBACK_OBJECTS, .Tuscany
|
||||
|
||||
.Trigger0:
|
||||
.DummyTrigger0:
|
||||
end
|
||||
|
||||
.Trigger1:
|
||||
.DummyTrigger1:
|
||||
end
|
||||
|
||||
.Tuscany:
|
||||
|
@ -13,9 +13,6 @@ Route31_MapScriptHeader:
|
||||
|
||||
.MapCallbacks:
|
||||
db 1
|
||||
|
||||
; callbacks
|
||||
|
||||
dbw MAPCALLBACK_NEWMAP, .CheckMomCall
|
||||
|
||||
.CheckMomCall:
|
||||
|
@ -17,26 +17,21 @@ const_value set 2
|
||||
Route32_MapScriptHeader:
|
||||
.MapTriggers:
|
||||
db 3
|
||||
|
||||
; triggers
|
||||
maptrigger .Trigger0
|
||||
maptrigger .Trigger1
|
||||
maptrigger .Trigger2
|
||||
maptrigger .DummyTrigger0
|
||||
maptrigger .DummyTrigger1
|
||||
maptrigger .DummyTrigger2
|
||||
|
||||
.MapCallbacks:
|
||||
db 1
|
||||
|
||||
; callbacks
|
||||
|
||||
dbw MAPCALLBACK_OBJECTS, .Frieda
|
||||
|
||||
.Trigger0:
|
||||
.DummyTrigger0:
|
||||
end
|
||||
|
||||
.Trigger1:
|
||||
.DummyTrigger1:
|
||||
end
|
||||
|
||||
.Trigger2:
|
||||
.DummyTrigger2:
|
||||
end
|
||||
|
||||
.Frieda:
|
||||
|
@ -19,9 +19,6 @@ Route34_MapScriptHeader:
|
||||
|
||||
.MapCallbacks:
|
||||
db 1
|
||||
|
||||
; callbacks
|
||||
|
||||
dbw MAPCALLBACK_OBJECTS, .EggCheckCallback
|
||||
|
||||
.EggCheckCallback:
|
||||
|
@ -10,19 +10,16 @@ Route34IlexForestGate_MapScriptHeader:
|
||||
|
||||
.MapCallbacks:
|
||||
db 1
|
||||
dbw MAPCALLBACK_OBJECTS, .IsForestRestless
|
||||
|
||||
; callbacks
|
||||
|
||||
dbw MAPCALLBACK_OBJECTS, UnknownScript_0x62d2d
|
||||
|
||||
UnknownScript_0x62d2d:
|
||||
.IsForestRestless:
|
||||
checkevent EVENT_FOREST_IS_RESTLESS
|
||||
iffalse UnknownScript_0x62d38
|
||||
iffalse .Normal
|
||||
disappear ROUTE34ILEXFORESTGATE_TEACHER1
|
||||
appear ROUTE34ILEXFORESTGATE_TEACHER2
|
||||
return
|
||||
|
||||
UnknownScript_0x62d38:
|
||||
.Normal:
|
||||
disappear ROUTE34ILEXFORESTGATE_TEACHER2
|
||||
appear ROUTE34ILEXFORESTGATE_TEACHER1
|
||||
return
|
||||
|
@ -6,60 +6,54 @@ const_value set 2
|
||||
Route35NationalParkGate_MapScriptHeader:
|
||||
.MapTriggers:
|
||||
db 3
|
||||
|
||||
; triggers
|
||||
dw Route35NationalParkGate_Trigger1, 0
|
||||
dw Route35NationalParkGate_Trigger2, 0
|
||||
dw Route35NationalParkGate_Trigger3, 0
|
||||
maptrigger .DummyTrigger0
|
||||
maptrigger .DummyTrigger1
|
||||
maptrigger .LeaveContestEarly
|
||||
|
||||
.MapCallbacks:
|
||||
db 2
|
||||
dbw MAPCALLBACK_NEWMAP, .CheckIfContestRunning
|
||||
dbw MAPCALLBACK_OBJECTS, .CheckIfContestAvailable
|
||||
|
||||
; callbacks
|
||||
|
||||
dbw MAPCALLBACK_NEWMAP, Route35NationalParkGate_CheckIfStillInContest
|
||||
|
||||
dbw MAPCALLBACK_OBJECTS, Route35NationalParkGate_CheckIfContestDay
|
||||
|
||||
Route35NationalParkGate_Trigger1:
|
||||
.DummyTrigger0:
|
||||
end
|
||||
|
||||
Route35NationalParkGate_Trigger2:
|
||||
.DummyTrigger1:
|
||||
end
|
||||
|
||||
Route35NationalParkGate_Trigger3:
|
||||
priorityjump Route35NationalParkGate_LeavingContestEarly
|
||||
.LeaveContestEarly:
|
||||
priorityjump .LeavingContestEarly
|
||||
end
|
||||
|
||||
Route35NationalParkGate_CheckIfStillInContest:
|
||||
.CheckIfContestRunning:
|
||||
checkflag ENGINE_BUG_CONTEST_TIMER
|
||||
iftrue Route35NationalParkGate_Yes
|
||||
iftrue .BugContestIsRunning
|
||||
dotrigger $0
|
||||
return
|
||||
|
||||
Route35NationalParkGate_Yes:
|
||||
.BugContestIsRunning:
|
||||
dotrigger $2
|
||||
return
|
||||
|
||||
Route35NationalParkGate_CheckIfContestDay:
|
||||
.CheckIfContestAvailable:
|
||||
checkcode VAR_WEEKDAY
|
||||
if_equal TUESDAY, Route35NationalParkGate_IsContestDay
|
||||
if_equal THURSDAY, Route35NationalParkGate_IsContestDay
|
||||
if_equal SATURDAY, Route35NationalParkGate_IsContestDay
|
||||
if_equal TUESDAY, .SetContestOfficer
|
||||
if_equal THURSDAY, .SetContestOfficer
|
||||
if_equal SATURDAY, .SetContestOfficer
|
||||
checkflag ENGINE_BUG_CONTEST_TIMER
|
||||
iftrue Route35NationalParkGate_Yes
|
||||
iftrue .BugContestIsRunning
|
||||
disappear ROUTE35NATIONALPARKGATE_OFFICER1
|
||||
appear ROUTE35NATIONALPARKGATE_YOUNGSTER
|
||||
appear ROUTE35NATIONALPARKGATE_OFFICER2
|
||||
return
|
||||
|
||||
Route35NationalParkGate_IsContestDay:
|
||||
.SetContestOfficer:
|
||||
appear ROUTE35NATIONALPARKGATE_OFFICER1
|
||||
disappear ROUTE35NATIONALPARKGATE_YOUNGSTER
|
||||
disappear ROUTE35NATIONALPARKGATE_OFFICER2
|
||||
return
|
||||
|
||||
Route35NationalParkGate_LeavingContestEarly:
|
||||
.LeavingContestEarly:
|
||||
applymovement PLAYER, MovementData_0x6a2e2
|
||||
spriteface ROUTE35NATIONALPARKGATE_OFFICER1, RIGHT
|
||||
opentext
|
||||
@ -68,13 +62,13 @@ Route35NationalParkGate_LeavingContestEarly:
|
||||
RAM2MEM $0
|
||||
writetext UnknownText_0x6a79a
|
||||
yesorno
|
||||
iffalse Route35NationalParkGate_GoBackIn
|
||||
iffalse .GoBackToContest
|
||||
writetext UnknownText_0x6a7db
|
||||
waitbutton
|
||||
closetext
|
||||
jumpstd bugcontestresultswarp
|
||||
|
||||
Route35NationalParkGate_GoBackIn:
|
||||
.GoBackToContest:
|
||||
writetext UnknownText_0x6a823
|
||||
waitbutton
|
||||
closetext
|
||||
|
@ -12,22 +12,17 @@ const_value set 2
|
||||
Route36_MapScriptHeader:
|
||||
.MapTriggers:
|
||||
db 2
|
||||
|
||||
; triggers
|
||||
dw .Trigger0, 0
|
||||
dw .Trigger1, 0
|
||||
maptrigger .DummyTrigger0
|
||||
maptrigger .DummyTrigger1
|
||||
|
||||
.MapCallbacks:
|
||||
db 1
|
||||
|
||||
; callbacks
|
||||
|
||||
dbw MAPCALLBACK_OBJECTS, .ArthurCallback
|
||||
|
||||
.Trigger0:
|
||||
.DummyTrigger0:
|
||||
end
|
||||
|
||||
.Trigger1:
|
||||
.DummyTrigger1:
|
||||
end
|
||||
|
||||
.ArthurCallback:
|
||||
|
@ -15,29 +15,23 @@ const_value set 2
|
||||
Route36NationalParkGate_MapScriptHeader:
|
||||
.MapTriggers:
|
||||
db 3
|
||||
|
||||
; triggers
|
||||
maptrigger .Trigger0
|
||||
maptrigger .Trigger1
|
||||
maptrigger .Trigger2
|
||||
maptrigger .DummyTrigger0
|
||||
maptrigger .DummyTrigger1
|
||||
maptrigger .LeaveContestEarly
|
||||
|
||||
.MapCallbacks:
|
||||
db 2
|
||||
|
||||
; callbacks
|
||||
|
||||
dbw MAPCALLBACK_NEWMAP, .CheckIfContestRunning
|
||||
|
||||
dbw MAPCALLBACK_OBJECTS, .CheckIfContestAvailable
|
||||
|
||||
.Trigger0:
|
||||
.DummyTrigger0:
|
||||
end
|
||||
|
||||
.Trigger1:
|
||||
.DummyTrigger1:
|
||||
end
|
||||
|
||||
.Trigger2:
|
||||
priorityjump .LeftTheContestEarly
|
||||
.LeaveContestEarly:
|
||||
priorityjump .LeavingContestEarly
|
||||
end
|
||||
|
||||
.CheckIfContestRunning:
|
||||
@ -69,7 +63,7 @@ Route36NationalParkGate_MapScriptHeader:
|
||||
.Return:
|
||||
return
|
||||
|
||||
.LeftTheContestEarly:
|
||||
.LeavingContestEarly:
|
||||
spriteface PLAYER, UP
|
||||
opentext
|
||||
checkcode VAR_CONTESTMINUTES
|
||||
|
@ -13,12 +13,9 @@ Route37_MapScriptHeader:
|
||||
|
||||
.MapCallbacks:
|
||||
db 1
|
||||
dbw MAPCALLBACK_OBJECTS, .Sunny
|
||||
|
||||
; callbacks
|
||||
|
||||
dbw MAPCALLBACK_OBJECTS, SunnyCallback
|
||||
|
||||
SunnyCallback:
|
||||
.Sunny:
|
||||
checkcode VAR_WEEKDAY
|
||||
if_equal SUNDAY, .SunnyAppears
|
||||
disappear ROUTE37_SUNNY
|
||||
|
@ -18,12 +18,9 @@ Route40_MapScriptHeader:
|
||||
|
||||
.MapCallbacks:
|
||||
db 1
|
||||
dbw MAPCALLBACK_OBJECTS, .MonicaCallback
|
||||
|
||||
; callbacks
|
||||
|
||||
dbw MAPCALLBACK_OBJECTS, MonicaCallback
|
||||
|
||||
MonicaCallback:
|
||||
.MonicaCallback:
|
||||
clearevent EVENT_BATTLE_TOWER_OUTSIDE_SAILOR
|
||||
checkcode VAR_WEEKDAY
|
||||
if_equal MONDAY, .MonicaAppears
|
||||
|
@ -8,12 +8,9 @@ Route40BattleTowerGate_MapScriptHeader:
|
||||
|
||||
.MapCallbacks:
|
||||
db 1
|
||||
dbw MAPCALLBACK_OBJECTS, .ShowSailor
|
||||
|
||||
; callbacks
|
||||
|
||||
dbw MAPCALLBACK_OBJECTS, UnknownScript_0x9f665
|
||||
|
||||
UnknownScript_0x9f665:
|
||||
.ShowSailor:
|
||||
clearevent EVENT_BATTLE_TOWER_OUTSIDE_SAILOR
|
||||
return
|
||||
|
||||
|
@ -12,18 +12,16 @@ const_value set 2
|
||||
Route42_MapScriptHeader:
|
||||
.MapTriggers:
|
||||
db 2
|
||||
|
||||
; triggers
|
||||
dw UnknownScript_0x1a9216, 0
|
||||
dw UnknownScript_0x1a9217, 0
|
||||
maptrigger .DummyTrigger0
|
||||
maptrigger .DummyTrigger1
|
||||
|
||||
.MapCallbacks:
|
||||
db 0
|
||||
|
||||
UnknownScript_0x1a9216:
|
||||
.DummyTrigger0:
|
||||
end
|
||||
|
||||
UnknownScript_0x1a9217:
|
||||
.DummyTrigger1:
|
||||
end
|
||||
|
||||
Route42SuicuneScript:
|
||||
|
@ -14,18 +14,15 @@ Route43_MapScriptHeader:
|
||||
|
||||
.MapCallbacks:
|
||||
db 1
|
||||
dbw MAPCALLBACK_NEWMAP, .CheckIfRockets
|
||||
|
||||
; callbacks
|
||||
|
||||
dbw MAPCALLBACK_NEWMAP, UnknownScript_0x19d051
|
||||
|
||||
UnknownScript_0x19d051:
|
||||
.CheckIfRockets:
|
||||
checkevent EVENT_CLEARED_ROCKET_HIDEOUT
|
||||
iftrue UnknownScript_0x19d05c
|
||||
iftrue .NoRockets
|
||||
domaptrigger ROUTE_43_GATE, $0
|
||||
return
|
||||
|
||||
UnknownScript_0x19d05c:
|
||||
.NoRockets:
|
||||
domaptrigger ROUTE_43_GATE, $1
|
||||
return
|
||||
|
||||
|
@ -6,36 +6,31 @@ const_value set 2
|
||||
Route43Gate_MapScriptHeader:
|
||||
.MapTriggers:
|
||||
db 2
|
||||
|
||||
; triggers
|
||||
dw .Trigger0, 0
|
||||
dw .Trigger1, 0
|
||||
maptrigger .RocketShakedown
|
||||
maptrigger .DummyTrigger
|
||||
|
||||
.MapCallbacks:
|
||||
db 1
|
||||
dbw MAPCALLBACK_NEWMAP, .CheckIfRockets
|
||||
|
||||
; callbacks
|
||||
|
||||
dbw MAPCALLBACK_NEWMAP, GateScript_CheckIfRockets
|
||||
|
||||
.Trigger0:
|
||||
priorityjump GateScript_RocketTakeover
|
||||
.RocketShakedown:
|
||||
priorityjump .RocketTakeover
|
||||
end
|
||||
|
||||
.Trigger1:
|
||||
.DummyTrigger:
|
||||
end
|
||||
|
||||
GateScript_CheckIfRockets:
|
||||
.CheckIfRockets:
|
||||
checkevent EVENT_CLEARED_ROCKET_HIDEOUT
|
||||
iftrue GateScript_NoRockets
|
||||
iftrue .NoRockets
|
||||
domaptrigger ROUTE_43, $0
|
||||
return
|
||||
|
||||
GateScript_NoRockets:
|
||||
.NoRockets:
|
||||
domaptrigger ROUTE_43, $1
|
||||
return
|
||||
|
||||
GateScript_RocketTakeover:
|
||||
.RocketTakeover:
|
||||
playmusic MUSIC_ROCKET_ENCOUNTER
|
||||
checkcode VAR_FACING
|
||||
if_equal DOWN, RocketScript_Southbound
|
||||
|
@ -4,14 +4,12 @@ const_value set 2
|
||||
Route6SaffronGate_MapScriptHeader:
|
||||
.MapTriggers:
|
||||
db 1
|
||||
|
||||
; triggers
|
||||
dw UnknownScript_0x1926e9, 0
|
||||
maptrigger .DummyTrigger
|
||||
|
||||
.MapCallbacks:
|
||||
db 0
|
||||
|
||||
UnknownScript_0x1926e9:
|
||||
.DummyTrigger:
|
||||
end
|
||||
|
||||
OfficerScript_0x1926ea:
|
||||
|
Some files were not shown because too many files have changed in this diff Show More
Loading…
Reference in New Issue
Block a user