A picture appear when i press ALT? [Resolution found]

Hey, I use the Realistic ABS for RMXP, but the HUD doesn't work because i need to use an older version of the SDK. The HUD is a very vital part of the game, because in the bottom left corner there is a picture that shows if you are battle-ready or if you are not. If you have seen the realistic Abs you would know what I'm talking about. Since i cannot get the HUD to work, i was wondering you guys could make it for me. The only thing i need is a small picture or Icon that is shown in the bottom right corner of the screen when ALT is pressed, and when ALT is pressed again, i want it to dissapear.

Here is a picture of the REALISTIC ABS. Please not that i do not need the Mana/HP bars, only the green glow effect (doesn't have to be a green glow effect at all, it could be anything really.). When ALT is pressed, the green glow turns red and the ABS lets you attack. The script i have already lets me attack, i just need a way to show the player that they can.
Image

Sorry if i am a little difficult to understand, and any help is appreciated.
Sephiron wrote:
If you have seen the realistic Abs you would know what I'm talking about.
Now that you realized that, please link there next time. ^^

Since I don't really know what you're working with, I'm having a shot in the blue here... make sure you adjust the script to what you already have to avoid double occurancies (even though you're probably deemed to have a bunch of compatibility issues with the SDK mess you described).

  1. class Scene_Map
  2.   #--------------------------------------------------------------------------------
  3.   hudfix_initialize initialize
  4.   def initialize
  5.     @indicator = Sprite.new
  6.     @indicator.sprite = RPG::Cache.picture('RegularBackgroundName')
  7.     @indicator.x = 640 - @indicator.sprite.width
  8.     @indicator.y = 480 - @indicator.sprite.height
  9.     hudfix_initialize
  10.     @indicator.sprite.dispose
  11.     @indicator.dispose
  12.   end
  13.   #--------------------------------------------------------------------------------
  14.   hudfix_update update
  15.   def update
  16.     hudfix_update
  17.     if Input.trigger?(Input::ALT)
  18.       # the next condititonal asks for game switch #1, assuming that's what's responsible for being able to attack - modify as needed
  19.       name = $game_switches[1] ? 'BattleBackgroundName' : 'RegularBackgroundName'
  20.       @indicator.sprite = RPG::Cache.picture(name)
  21.     end
  22.   end
  23.   #--------------------------------------------------------------------------------
  24. end
Expand to see the code.
Ok, I'm not sure if you know what i mean...
Here's the link to the action battle system, but i don't see why you would need it.
http://www.rpg-palace.com/downloads/details.php?id=3

All i need to know how to do is toggle an icon in the corner whenever ALT is pressed. This doesn't have to have anything to do with the battle system.
Thanks for your help though, It's very much appreciated! Maybe now that i have explained myself a little more, maybe you can still help me out. When i started the thread i was very tired and it was pretty late.
Nevermind, i managed to do this with events. I just changed the Input.trigger for the ABS script to R (Which is W button by default) and then made an event that exchanges the Battle ready icon for the other icon when W (Input R) is pressed.

A mod can close this now i guess.

Original thread: https://www.hbgames.org/forums/viewtopic.php?t=70928