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

View File

@@ -670,11 +670,11 @@ def pbStrength
movefinder = $Trainer.get_pokemon_with_move(move)
if !pbCheckHiddenMoveBadge(Settings::BADGE_FOR_STRENGTH, false) || (!$DEBUG && !movefinder)
if $PokemonBag.pbQuantity(:LEVER)<=0
pbMessage(_INTL("It's a big boulder, but a Pokémon may be able to push it aside."))
pbMessage(_INTL("It looks heavy, but a Pokémon may be able to push it aside."))
return false
end
end
pbMessage(_INTL("It's a big boulder, but a Pokémon may be able to push it aside.\1"))
pbMessage(_INTL("It looks heavy, but a Pokémon may be able to push it aside.\1"))
if pbConfirmMessage(_INTL("Would you like to use Strength?"))
speciesname = (movefinder) ? movefinder.name : $Trainer.name
pbMessage(_INTL("{1} used {2}!", speciesname, GameData::Move.get(move).name))

View File

@@ -93,6 +93,7 @@ SWITCH_USED_AN_INCENSE=798
SWITCH_FIRST_RIVAL_BATTLE=46
SWITCH_BATTLE_FACTORY_INCLUDE_ALL = 775
SWITCH_LOUNGE_BATTLE_LEVEL = 240
#############
# VARIABLES #