mirror of
https://github.com/infinitefusion/infinitefusion-e18.git
synced 2025-12-06 06:01:46 +00:00
mt. ember cutscene (wip)
This commit is contained in:
@@ -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
|
||||
|
||||
@@ -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))
|
||||
|
||||
@@ -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 #
|
||||
|
||||
Reference in New Issue
Block a user