Handle optional arguments for warp commands, add WARP_ID_NONE
This commit is contained in:
@@ -48,7 +48,7 @@ BattleFrontier_OutsideWest_EventScript_FerryToSlateport::
|
||||
goto_if_eq BattleFrontier_OutsideWest_EventScript_ChooseNewFerryDestination
|
||||
msgbox BattleFrontier_OutsideWest_Text_PleaseBoardFerry, MSGBOX_DEFAULT
|
||||
call BattleFrontier_OutsideWest_EventScript_BoardFerry
|
||||
warp MAP_SLATEPORT_CITY_HARBOR, 255, 8, 11
|
||||
warp MAP_SLATEPORT_CITY_HARBOR, 8, 11
|
||||
waitstate
|
||||
release
|
||||
end
|
||||
@@ -59,7 +59,7 @@ BattleFrontier_OutsideWest_EventScript_FerryToLilycove::
|
||||
goto_if_eq BattleFrontier_OutsideWest_EventScript_ChooseNewFerryDestination
|
||||
msgbox BattleFrontier_OutsideWest_Text_PleaseBoardFerry, MSGBOX_DEFAULT
|
||||
call BattleFrontier_OutsideWest_EventScript_BoardFerry
|
||||
warp MAP_LILYCOVE_CITY_HARBOR, 255, 8, 11
|
||||
warp MAP_LILYCOVE_CITY_HARBOR, 8, 11
|
||||
waitstate
|
||||
release
|
||||
end
|
||||
|
||||
Reference in New Issue
Block a user