public void WriteToROM() { if (NewGame != null && NewGame.Visible) { NewGame.WriteToROM(); } if (Animations != null && Animations.Visible) { Animations.WriteToROM(); } if (Attacks != null && Attacks.Visible) { Attacks.WriteToROM(); } if (Battlefields != null && Battlefields.Visible) { Battlefields.WriteToROM(); } if (Dialogues != null && Dialogues.Visible) { Dialogues.WriteToROM(); } if (EventScripts != null && EventScripts.Visible) { EventScripts.WriteToROM(); } if (Fonts != null && Fonts.Visible) { Fonts.WriteToROM(); } if (Formations != null && Formations.Visible) { Formations.WriteToROM(); } if (Items != null && Items.Visible) { Items.WriteToROM(); } if (Areas != null && Areas.Visible) { Areas.WriteToROM(); } if (Monsters != null && Monsters.Visible) { Monsters.WriteToROM(); } if (Sprites != null && Sprites.Visible) { Sprites.WriteToROM(); } if (Intro != null && Intro.Visible) { Intro.WriteToROM(); } if (WorldMaps != null && WorldMaps.Visible) { WorldMaps.WriteToROM(); } }