Envision, Create, Share

Welcome to HBGames, a leading amateur game development forum and Discord server. All are welcome, and amongst our ranks you will find experts in their field from all aspects of video game design and development.

How do you Disable Run?

Status
Not open for further replies.
Edit: My apologies, I misread your question.

Find the code where you process the escape selection (most likely within Scene_Battle3). Place the following code prior to any processing you would normally make.
Code:
        # If it's not possible to escape
        if $game_temp.battle_can_escape == false
          # Play buzzer SE
          $game_system.se_play($data_system.buzzer_se)
          return
        end
It will look something like this:
Code:
when 2  # escape
        # If it's not possible to escape
        if $game_temp.battle_can_escape == false
          # Play buzzer SE
          $game_system.se_play($data_system.buzzer_se)
          return
        end
        # Play decision SE
        $game_system.se_play($data_system.decision_se)
        # Escape processing
        # (Escape processing code here)
 

Nachos

Sponsor

I don't know scripting.. but i think you could search in the Scene_Battle( or in Window_Battle)
"Escape" and delete all the commands..

OOOO I GOT IT!

IN Window_PartyCommand at line 16 says

@commands = ["Fight", "Escape"]

change it to

@commands = ["Fight"]


i didn't test is, but it should work
 
noobo;211717 said:
When you play a battle you have four options.
Defend
Fight
Escape
Skill

That's not right...It should be Attack, Defend, Skill, Item. You must have modified it. Retlaf's solution should be right. I'm not at home, so don't quote me on this.
 
Retlaf;212482 said:
Edit: My apologies, I misread your question.

Find the code where you process the escape selection (most likely within Scene_Battle3). Place the following code prior to any processing you would normally make.
Code:
        # If it's not possible to escape
        if $game_temp.battle_can_escape == false
          # Play buzzer SE
          $game_system.se_play($data_system.buzzer_se)
          return
        end
It will look something like this:
Code:
when 2  # escape
        # If it's not possible to escape
        if $game_temp.battle_can_escape == false
          # Play buzzer SE
          $game_system.se_play($data_system.buzzer_se)
          return
        end
        # Play decision SE
        $game_system.se_play($data_system.decision_se)
        # Escape processing
        # (Escape processing code here)

Thanks mate ya solved it for me.
 
Status
Not open for further replies.

Thank you for viewing

HBGames is a leading amateur video game development forum and Discord server open to all ability levels. Feel free to have a nosey around!

Discord

Join our growing and active Discord server to discuss all aspects of game making in a relaxed environment. Join Us

Content

  • Our Games
  • Games in Development
  • Emoji by Twemoji.
    Top