Beginning at line 164, this is off because the return value should be in HL. Please either put it back, or modify it so that HL is either 0 or 1 depending on the archive status. Thanks!
I did not care of HL because I noticed that just after each
call _CheckInRAM_ASM \.r
there's a pop hl
That's why I thought the old value of HL (either 0 or 1) was useless, and only the flag Z was important...
Jacobly explained me the importance of _IsArchived:
I now understand :)
The multiplication here is incorrect, by the way.
which line , please ?
I did not care of HL because I noticed that just after each
call _CheckInRAM_ASM \.r
there's apop hl
That's why I thought the old value of HL (either 0 or 1) was useless, and only the flag Z was important... Jacobly explained me the importance of _IsArchived: I now understand :)