help me! i changed a simple dash script into a mount script but now i need to make it so that you can get better mounts and such! ok, so ill put the events and the script up. first of all, heres the script that goes in at the bottom of game_player(im telling you because its important info so it can be modded further)
#==============================================================================
# Game_Player Dash
#==============================================================================
class Game_Player
alias xrxs25_update update
def update
unless moving? or $game_system.map_interpreter.running? or
@move_route_forcing or $game_temp.message_window_showing
if $game_switches[908] == true
@move_speed = 5
else
@move_speed = 4
end
end
xrxs25_update
end
end
ok, so heres the common events:
1st one is activated by using an item. it governs getting on the mount
<>message: ride mount?
<>show choices: yes/no
<>yes handler
<>switch [908 mount]=on
<>tint screen(alll the way dark, 20 frames)
<>change hero graphic: lead char to lead char riding mount
<>tint screen(back to normal, 20 frames)
<>
<>no/handler
<>
2nd one starts by switch 908 being on, btw these r all paralel processes this governs getting off the mount
<>conditional branch: A is pushed
<>tint screen(all the way black @20 frames)
<>change hero graphic back to hero w/out mount
<>tint screen(back to normal @20 frames)
<>switch 908: mount= off
and thats that. now for the better mount:
1st one is activated by using a better item. it governs getting on the mount
<>message: ride mount?
<>show choices: yes/no
<>yes handler
<>switch [909 mount]=on
<>tint screen(alll the way dark, 20 frames)
<>change hero graphic: lead char to lead char riding better mount
<>tint screen(back to normal, 20 frames)
<>
<>no/handler
<>
2nd one starts by switch 909 being on, btw these r all paralel processes this governs getting off the mount
<>conditional branch: A is pushed
<>tint screen(all the way black @20 frames)
<>change hero graphic back to hero w/out mount
<>tint screen(back to normal @20 frames)
<>switch 909: mount= off
ok. so i think i may need another script that looks like this:
#==============================================================================
# Game_Player Dash
#==============================================================================
class Game_Player
alias xrxs25_update update
def update
unless moving? or $game_system.map_interpreter.running? or
@move_route_forcing or $game_temp.message_window_showing
if $game_switches[909] == true
@move_speed = 5
else
@move_speed = 4
end
end
xrxs25_update
end
end
i tried having two scripts but the game told me the stack lvl is too deep. so, if neone could help me thx, id really appreciate it because this will be really cool in my game if i can get it fixed! thankyou!