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.

Can somebody make this script SDK compatible?

Sorry for so many requests, people... but what else can a n00b who wants a lot of scripts do...?

Anyway, here is the script. I was just wondering whether somebody could make this SDK compatible, 'cause it doesn't seem to work with the SDK (I removed the SDK, and it worked fine).

This is the script:
Code:
#==============================================================================
# ** Individual Commands
#==============================================================================
class Scene_Battle
alias cbs_phase3_setup_command_window phase3_setup_command_window
def phase3_setup_command_window
cbs_phase3_setup_command_window
case $game_party.actors[@actor_index].id
when 1
commands = ["Attack", "AeroShaping", "Defend", "Items"]
when 2
commands = ["Attack2", "Skiils2", "Defend2", "Items2"]
when 3
commands = ["Attack3", "Skiils3", "Defend3", "Items3"]
when 4
commands = ["Attack", "DarkArts", "Defend", "Items"]
end
@actor_command_window.change_commands(commands)
end
end

class Window_Command
def change_commands(commands)
@original = @commands unless @original
@commands = commands ? commands : @original
refresh
end
end

I'd be really grateful to anyone who does so.
 

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