Your problem is unrelated to this script. You need to find (or create yourself) a script that can support an active party size larger than 4, breaking the default RMXP implementation.
This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.
#Update the bar
@timed_hit_bar.update
key = false
#Test for a pressed button
for button in @timed_hit.key_list
if Input.trigger?(button)
key = button
break
end
end
#Test for a hit
if key
if @timed_hit_bar.hit?(key)
@timed_hit_bar.update
$game_system.se_play(@timed_hit.hit_sound)
else
$game_system.se_play(@timed_hit.miss_sound)
end
end
class Scene_Battle
def update_phase3_skill_select
# ...
# If C button was pressed
if Input.trigger?(Input::C)
# ...
# If effect scope is single ally
elsif @skill.scope == 3 or @skill.scope == 5
# Start actor selection
start_actor_select
elsif @skill.scope == 3 or @skill.scope == 5 or @skill.scope == 7
class Arrow_Actor < Arrow_Base
attr_accessor :disable_selection
def initialize(viewport)
@disable_selection = false
super
end
alias update_actor_arrow_selection update
def update
return update_actor_arrow_selection unless @disable_selection
super
# Set sprite coordinates
if self.actor != nil
self.x = self.actor.screen_x
self.y = self.actor.screen_y
end
end
end
elsif @skill.scope == 3 or @skill.scope == 5 or @skill.scope == 7
# Start actor selection
start_actor_select
# Prevent actor selection if scope is the user
@actor_arrow.disable_selection = @skill.scope == 7
elsif @item.scope == 3 or @item.scope == 5 or @item.scope == 7
# Start actor selection
start_actor_select
@actor_arrow.disable_selection = @item.scope == 7
class Scene_Map
alias reset_pixel_on_transfer_player transfer_player
def transfer_player
$game_player.reset_pixel
$game_player.transfer_start = [$game_temp.player_new_x, $game_temp.player_new_y]
reset_pixel_on_transfer_player
end
end
class Game_Player
attr_accessor :transfer_start
TRANSFER_START_NIL = [-1,-1]
alias init_starting_transfer_loc initialize
def initialize
@transfer_start = TRANSFER_START_NIL
init_starting_transfer_loc
end
alias check_if_move_off_transfer_start update
def update
if @x != @transfer_start[0] || @y != @transfer_start[1]
@transfer_start = TRANSFER_START_NIL
end
check_if_move_off_transfer_start
end
alias buffer_trigger_here check_event_trigger_here
def check_event_trigger_here(triggers)
if @x == @transfer_start[0] && @y == @transfer_start[1]
return false
end
buffer_trigger_here(triggers)
end
end
class Test
def initialize
@name = 'foo'
@type = 'bar'
end
end
file = File.open('data_dump.txt', 'wb')
test_object = Test.new
Marshal.dump(test_object, file)
test_object = Marshal.load(File.open('data_dump.txt'))
Marshal.dump(object_a, file)
Marshal.dump(object_b, file)
Marshal.dump(object_c, file)
# load in the same order as you dump...
object_a = Marshal.load(file)
object_b = Marshal.load(file)
object_c = Marshal.load(file)
now = Time.now
puts now - $prev
$prev = now
class Interpreter
def setup(*args)
drg128_setup(*args)
# index of window for the message
@msgindex = 0
$game_temp.message_text, $game_temp.message_proc = [],[]
#-----------------------------------------------------------------
if @list.size > 1
templist = @list.pop
@list << RPG::EventCommand.new(106,0,[1]) << templist
end
#-----------------------------------------------------------------
# whether multiple messages are displaying
@multi_message = false
end
if @list.size > 1 && @list[-2].code != 106
templist = @list.pop
@list << RPG::EventCommand.new(106,0,[1]) << templist
end
# Get 1 text character in c (loop until unable to get text)
while ((@c = @text.slice!(/./m)) != nil)
# Plays Sounds for each Letter, Numbers and Spaces Excluded
play_sound
case eval_text(self.contents)
when 0 then return
when 1 then next
end
# Draw text
self.contents.draw_text(4 + @x, 32 * @y, 40, 32, @c)
def eval_text(bitmap)
...
if @c == '\015' || @c == '\016'
if @c == '\015'
# ...ignore this...
elsif @c == '\016'
@text.sub!(/\[(.+?)(?:(\d+))?\]/, '')
name = $1.to_s
end
create_name_sprite(name) if name != ''
create_face_sprite(face)
end
class Window_Message < Window_Selectable
alias f0_localize_rbc replace_basic_code
def replace_basic_code
@text.gsub!(/\\[Kk]\[(.+)\]/) { Localization.read($1) }
f0_localize_rbc
end
end