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:
Remy Oukaour
2017-12-10 17:53:21 -05:00
parent 66527d861f
commit 62f5913943
133 changed files with 659 additions and 1082 deletions

View File

@@ -6,29 +6,25 @@ const_value set 2
VermilionPort_MapScriptHeader:
.MapTriggers:
db 2
; triggers
maptrigger .Trigger0
maptrigger .Trigger1
maptrigger .DummyTrigger0
maptrigger .LeaveFastShip
.MapCallbacks:
db 1
; callbacks
dbw MAPCALLBACK_NEWMAP, .FlyPoint
.Trigger0:
.DummyTrigger0:
end
.Trigger1:
priorityjump UnknownScript_0x74da6
.LeaveFastShip:
priorityjump .LeaveFastShipScript
end
.FlyPoint:
setflag ENGINE_FLYPOINT_VERMILION
return
UnknownScript_0x74da6:
.LeaveFastShipScript:
applymovement PLAYER, MovementData_0x74ef3
appear VERMILIONPORT_SAILOR1
dotrigger $0