Laura's Escape Bar Removal Code
#8
Did you (by any chance) perform an edit to Laura near the beginning? Like in the start_phase1 method in Scene_Battle where you'd see:

Code:
# Get index of Equip Command
    @escape_actor_command_index = @actor_command_window.height / 32 - 1
If so, you need to adjust your disable item code to match:
Code:
if $game_temp.battle_can_escape == false
      @actor_command_window.disable_item(@actor_command_window.height / 32 - 1)
    end
As you can see, the first bit of code obtains and sets the index of your escape option in the command window.
That's the whole ... height / 32 -1. The second item also uses the same formula to disable the same command.

I wrote this 4 1/2 years ago?
Up is down, left is right and sideways is straight ahead. - Cord "Circle of Iron", 1978 (written by Bruce Lee and James Coburn... really...)

[Image: QrnbKlx.jpg]
[Image: sGz1ErF.png]    [Image: liM4ikn.png]    [Image: fdzKgZA.png]    [Image: sj0H81z.png]
[Image: QL7oRau.png]    [Image: uSqjY09.png]    [Image: GAA3qE9.png]    [Image: 2Hmnx1G.png]    [Image: BwtNdKw.png%5B]
  Above are clickable links
Reply }


Messages In This Thread
Laura's Escape Bar Removal Code - by DerVVulfman - 03-05-2008, 07:02 AM
RE: Laura's Escape Bar Removal Code - by Crono - 10-11-2011, 11:37 PM
RE: Laura's Escape Bar Removal Code - by Crono - 10-12-2011, 05:53 AM
RE: Laura's Escape Bar Removal Code - by Crono - 10-12-2011, 08:11 PM
RE: Laura's Escape Bar Removal Code - by Crono - 11-06-2011, 04:18 AM
RE: Laura's Escape Bar Removal Code - by DerVVulfman - 11-06-2011, 04:31 AM
RE: Laura's Escape Bar Removal Code - by Crono - 11-06-2011, 05:16 AM
RE: Laura's Escape Bar Removal Code - by Crono - 11-06-2011, 05:38 AM
Laura's Escape Bar Removal Code - by juances19 - 11-16-2009, 12:32 AM

Possibly Related Threads…
Thread Author Replies Views Last Post
   Extra ITEM for MOG Scene Item Laura DerVVulfman 0 5,211 06-29-2017, 03:44 AM
Last Post: DerVVulfman
   Code Mora : Morality Engine BeJeremiah 0 5,667 07-23-2016, 01:25 PM
Last Post: BeJeremiah
   Xenres Single Actor Escape Kirito 0 6,124 10-24-2010, 05:28 AM
Last Post: Kirito
   Xenres Escape Bar Removal Script Kirito 0 6,218 10-24-2010, 05:24 AM
Last Post: Kirito
   Moghunter Menus: Scene Item Laura DerVVulfman 2 9,831 08-02-2009, 09:04 PM
Last Post: DerVVulfman
   Miss Laura's Transparent GameOver Screen DerVVulfman 0 5,398 03-05-2008, 06:25 PM
Last Post: DerVVulfman
   Simple Escape Command Trickster 0 4,446 03-02-2008, 06:45 AM
Last Post: Trickster



Users browsing this thread: 2 Guest(s)