Skip to content

Commit ef7e7b4

Browse files
committed
Fix crash on frogs 2 with randomized melody
1 parent 74271ee commit ef7e7b4

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

OcarinaSongs.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -449,7 +449,7 @@ def patch_songs(world: World, rom: Rom) -> None:
449449
continue # song activation is vanilla (possibly because this row wasn't randomized), don't randomize playback
450450

451451
if name == 'ZR Frogs Ocarina Game':
452-
rom.write_bytes(0xB78AA0, [note['note'] for note in song.playback])
452+
rom.write_bytes(0xB78AA0, song.activation)
453453
continue
454454

455455
# fix the song of time

0 commit comments

Comments
 (0)