17 lines
427 B
GDScript
17 lines
427 B
GDScript
extends Node
|
|
|
|
var ROM_filename := 'FF5_SCC_WepTweaks_Inus_Dash.sfc' # 'Final Fantasy V (Japan).sfc'
|
|
var GBA_filename := '2564 - Final Fantasy V Advance (U)(Independent).gba'
|
|
|
|
var rom_snes := File.new()
|
|
|
|
func load_snes_rom(filename: String):
|
|
var error := rom_snes.open(filename, File.READ)
|
|
if error == OK:
|
|
SoundLoader.parse_rom(rom_snes)
|
|
SpriteLoader.load_snes_rom(rom_snes)
|
|
|
|
func _ready():
|
|
load_snes_rom(ROM_filename)
|
|
|