mirror of
https://github.com/JHDev2006/Super-Mario-Bros.-Remastered-Public.git
synced 2025-10-22 07:28:14 +00:00
added a quick updating thing to resource extraction + fixed a bug where the timer warnings would play, upon death
This commit is contained in:
@@ -4,9 +4,11 @@ extends AssetRipper
|
||||
@onready var progress_bar: ProgressBar = %ProgressBar
|
||||
@onready var error: Label = %Error
|
||||
|
||||
static var updating := false
|
||||
|
||||
func _ready() -> void:
|
||||
Global.get_node("GameHUD").hide()
|
||||
|
||||
if updating: $MarginContainer/ProgressBar/Label.text = "UPDATING ASSETS..."
|
||||
rom = FileAccess.get_file_as_bytes(Global.rom_path)
|
||||
prg_rom_size = rom[4] * 16384
|
||||
chr_rom = rom.slice(16 + prg_rom_size)
|
||||
|
Reference in New Issue
Block a user