I'm using Prexus's Bestiary script, and was wondering how to make this line activate only when a switch was on
Because, the true/false controls whether it records the enemy in the bestiary (from what I've seen) and I only want it to record an enemy during certain parts of the game.
I think this belongs in RGSS support. Thanks to any who can help.
Code:
class Game_Enemy < Game_Battler
alias pxmod_g_enemy_initialize initialize
def initialize(troop_id, member_index)
pxmod_g_enemy_initialize(troop_id, member_index)
enemy = $data_enemies[@enemy_id]
enemy.set_seen(true)
end
end
Because, the true/false controls whether it records the enemy in the bestiary (from what I've seen) and I only want it to record an enemy during certain parts of the game.
I think this belongs in RGSS support. Thanks to any who can help.