We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 9c1da1a commit 20caa0cCopy full SHA for 20caa0c
1 file changed
scripts/save_song/save_song.gml
@@ -78,6 +78,12 @@ function save_song() {
78
buffer_write_byte(cursong.loopmax)
79
buffer_write_short(cursong.loopstart)
80
}
81
+
82
+ if (nbsver < 6) {
83
+ for (var ind = 16; ind < 20; ind++) {
84
+ if(songs[song].instrument_list[| ind].num_blocks > 0) has_v6_ins = true
85
+ }
86
87
88
ca = 0
89
var ins = 0
@@ -93,7 +99,6 @@ function save_song() {
93
99
buffer_write_short(cb)
94
100
cb = 0
95
101
ins = ds_list_find_index(cursong.instrument_list, cursong.song_ins[a, b])
96
- if (nbsver < 6 && ins > 15 && ins < 20) has_v6_ins = true
97
102
if (nbsver < 6 && ins >= 20 && !has_v6_ins) ins -= 4
98
103
buffer_write_byte(ins)
104
buffer_write_byte(cursong.song_key[a, b])
0 commit comments