ISSOtm / gbz80toitems3

An online converter translating Game Boy assembly into Pokémon R/B/Y items.
https://eldred.fr/gbz80toitems3/
10 stars 3 forks source link

jr targets are off by one #14

Open joefarebrother opened 5 years ago

joefarebrother commented 5 years ago

The following code:

jr .lab
.lab

produces the item list

Rainbow Badge (hex:18) x255 (hex:FF)

wheras the expected result is

Rainbow Badge x0

This issue also happens with conditional jr instructions.

ISSOtm commented 5 years ago

I think the entire compilation process needs to be reworked anyways... also I've got little time to look into this, sadly. :/