Fixed being able to Fly in the Town Map despite the Setting, fixed being unable to interact with an event next to you if standing on an event

This commit is contained in:
Maruno17
2023-10-01 19:24:49 +01:00
parent a6c7e2c1ff
commit d267956c6e
3 changed files with 19 additions and 12 deletions

View File

@@ -308,7 +308,8 @@ class PokemonRegionMap_Scene
end
elsif Input.trigger?(Input::USE) && @editor # Intentionally after other USE input check
pbChangeMapLocation(@map_x, @map_y)
elsif Input.trigger?(Input::ACTION) && !@wallmap && !@fly_map && pbCanFly?
elsif Input.trigger?(Input::ACTION) && Settings::CAN_FLY_FROM_TOWN_MAP &&
!@wallmap && !@fly_map && pbCanFly?
pbPlayDecisionSE
@mode = (@mode == 1) ? 0 : 1
refresh_fly_screen