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.

HBGames

Im trying to get the second character in my party to change after a certian level and its not working with this script... also i would like to add and take away skills at the levels two, and i would like to change class of this character. can you help???

heres the script:
#----------------
# Level: Character Graphic Change
#----------------
class Scene_Map
# This is for aliasing the code to Scene_Map
alias levelgraphicchange_update update
def update

# $game_actors[ACTOR ID].level.between?(MIN LEVEL, MAX LEVEL)
if $game_actors[1].level.between?(6, 15)
# $game_party.actors[ACTOR ID].set_graphic("CHARSET FILE NAME", HUE, BATTLER, HUE)
$game_party.actors[0].set_graphic("002-Fighter02", 0, "002-Fighter02", 0)
# Update the graphic
$game_player.refresh
end

# $game_actors[ACTOR ID].level.between?(MIN LEVEL, MAX LEVEL)
if $game_actors[1].level.between?(16, 30)
# $game_party.actors[ACTOR ID].set_graphic("CHARSET FILE NAME", HUE, BATTLER, HUE)
$game_party.actors[0].set_graphic("003-Fighter03", 0, "002-Fighter02", 0)
# Update the graphic
$game_player.refresh
end

# $game_actors[ACTOR ID].level.between?(MIN LEVEL, MAX LEVEL)
if $game_actors[1].level.between?(31, 50)
# $game_party.actors[ACTOR ID].set_graphic("CHARSET FILE NAME", HUE, BATTLER, HUE)
$game_party.actors[0].set_graphic("004-Fighter04", 0, "002-Fighter02", 0)
# Update the graphic
$game_player.refresh
end

# $game_actors[ACTOR ID].level.between?(MIN LEVEL, MAX LEVEL)
if $game_actors[1].level.between?(51, 77)
# $game_party.actors[ACTOR ID].set_graphic("CHARSET FILE NAME", HUE, BATTLER, HUE)
$game_party.actors[0].set_graphic("005-Fighter05", 0, "002-Fighter02", 0)
# Update the graphic
$game_player.refresh
end
levelgraphicchange_update
end
end

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