RPG Maker Forums

Hi folks! 

I begin to do a really simple script who permit to have specific music by enemy  

the notetag work !

is the calling via the BattleManager

here the error 

so here the whole scripts and I highlight the principal line who cause me problem...

Code:
=beginNio Kasgami Hope EngineEnemy Specific Battle Song=endmodule Enemy_Songendclass Game_Enemy < Game_Battler    def initialize(index, enemy_id)    super()    @index = index    @enemy_id = enemy_id    enemy = $data_enemies[@enemy_id]    @original_name = enemy.name    @letter = ""    @plural = false    @screen_x = 0    @screen_y = 0    @battler_name = enemy.battler_name    @battler_hue = enemy.battler_hue    @hp = mhp    @mp = mmp    check_music_notetag  end      def check_music_notetag    if enemy.note =~ /<Monster>/    RPG::BGM.new("Battle2",100,100).play    if enemy.note =~ /<Human>/      RPG::BGM.new("Battle9",100,100).play    else     $game_system.battle_bgm.play    end   end endendmodule BattleManager    def self.play_battle_bgm    @music = Game_Enemy.check_music_notetag  endend          

Latest Threads

Latest Profile Posts

Don't forget, aspiring writers: Personality isn't what your characters do, it is WHY they do it.
Hello! I would like to know if there are any pluggings or any way to customize how battles look?
I was thinking that when you start the battle for it to appear the eyes of your characters and opponents sorta like Ace Attorney.
Sadly I don't know how that would be possible so I would be needing help! If you can help me in any way I would really apreciate it!
The biggest debate we need to complete on which is better, Waffles or Pancakes?
rux
How is it going? :D
Day 9 of giveaways! 8 prizes today :D

Forum statistics

Threads
106,051
Messages
1,018,551
Members
137,837
Latest member
Dabi
Top