mt. ember cutscene (wip)

This commit is contained in:
infinitefusion
2022-11-20 01:29:09 -05:00
parent 94b9f28648
commit 48e9db8538
17 changed files with 6 additions and 5 deletions

View File

@@ -393,6 +393,7 @@ class Interpreter
old_y = event.y
# Apply strict version of passable, which treats tiles that are passable
# only from certain directions as fully impassible
return if !event.can_move_in_direction?($game_player.direction, true)
case $game_player.direction
when 2 then event.move_down
@@ -400,7 +401,7 @@ class Interpreter
when 6 then event.move_right
when 8 then event.move_up
end
$PokemonMap.addMovedEvent(@event_id) if $PokemonMap
if old_x != event.x || old_y != event.y
$game_player.lock
loop do