mirror of
https://github.com/JHDev2006/Super-Mario-Bros.-Remastered-Public.git
synced 2025-10-22 15:38:14 +00:00
Fixed SMBS coin heavens, wrong warping you to SMB1, HOPEFULLY fixed some weird coin heaven deaths, and also added zip checking to the rom verifier, so that bad sprite rips dont happen (HOPEFULLY)
This commit is contained in:
@@ -13,7 +13,10 @@ func _ready() -> void:
|
||||
|
||||
func on_file_dropped(files: PackedStringArray) -> void:
|
||||
for i in files:
|
||||
if is_valid_rom(i):
|
||||
if i.contains(".zip"):
|
||||
zip_error()
|
||||
return
|
||||
elif is_valid_rom(i):
|
||||
Global.rom_path = i
|
||||
verified()
|
||||
copy_rom(i)
|
||||
@@ -35,6 +38,10 @@ func error() -> void:
|
||||
%Error.show()
|
||||
$ErrorSFX.play()
|
||||
|
||||
func zip_error() -> void:
|
||||
$ErrorSFX.play()
|
||||
%ZipError.show()
|
||||
|
||||
func verified() -> void:
|
||||
$BGM.queue_free()
|
||||
%DefaultText.queue_free()
|
||||
|
Reference in New Issue
Block a user