- Joined
- Jul 17, 2013
- Messages
- 26
- Reaction score
- 5
- First Language
- English
- Primarily Uses
So I made the changes (I think), and tried this...
Now it will boot to title, but will crash as soon as "New" is selected. It gives me the message...
"Script ‘Game_Actor’ line 52: TypeError occurred. No implicit conversion from nil to integer."
When I open the scripts after that, it takes me to Line 52 of the Game_Actor script, the one under the Game Objects section.
Got to admit, I don't have an inkling as to the 'why' this time...
class Game_Actor < Game_Battler attr_accessor :game_variables[5]
alias zale_actor_init_587vgnmdi3 initialize
def initialize(name)
case actor.name
when 'Eric'
$game_variables[5] = 2
when 'Ryoma'
$game_variables[5] = 3
when 'Ernest'
$game_variables[5] = 2
when 'Terence'
$game_variables[5] = 2
when 'Isabelle'
$game_variables[5] = 4
when 'Alice'
$game_variables[5] = 4
when 'Noah'
$game_variables[5] = 3
else
$game_variables[5] = 7
end
zale_actor_init_587vgnmdi3(name)
end
end
alias zale_actor_init_587vgnmdi3 initialize
def initialize(name)
case actor.name
when 'Eric'
$game_variables[5] = 2
when 'Ryoma'
$game_variables[5] = 3
when 'Ernest'
$game_variables[5] = 2
when 'Terence'
$game_variables[5] = 2
when 'Isabelle'
$game_variables[5] = 4
when 'Alice'
$game_variables[5] = 4
when 'Noah'
$game_variables[5] = 3
else
$game_variables[5] = 7
end
zale_actor_init_587vgnmdi3(name)
end
end
"Script ‘Game_Actor’ line 52: TypeError occurred. No implicit conversion from nil to integer."
When I open the scripts after that, it takes me to Line 52 of the Game_Actor script, the one under the Game Objects section.
Got to admit, I don't have an inkling as to the 'why' this time...
Last edited by a moderator:

