Skip to content

Commit

Permalink
Fix Briney softlock
Browse files Browse the repository at this point in the history
- Travelling to Route 109 will enable flying to Slateport
  • Loading branch information
BuffelSaft committed Oct 10, 2021
1 parent b244b59 commit 483751f
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion data/maps/Route109/scripts.inc
Original file line number Diff line number Diff line change
@@ -1,9 +1,14 @@
@ NOTE: Route 109's sail to Dewford script references local IDs from Dewford's map.
@ These are labeled in DewfordTown/scripts.inc

Route109_MapScripts:: @ 81EE75F
Route109_MapScripts::
map_script MAP_SCRIPT_ON_TRANSITION, Route109_OnTransition
.byte 0

Route109_OnTransition:
setflag FLAG_VISITED_SLATEPORT_CITY
end

Route109_EventScript_StartDepartForDewford:: @ 81EE760
call EventScript_BackupMrBrineyLocation
setobjectpriority LOCALID_BRINEY_R109, MAP_ROUTE109, 0
Expand Down

0 comments on commit 483751f

Please sign in to comment.