asm -> diff

This commit is contained in:
Rangi
2019-02-17 13:39:12 -05:00
parent 47495e7d66
commit a7c655eb67

View File

@@ -636,7 +636,7 @@ The routine `GetForestTreeFrame` in [engine/tilesets/tileset_anims.asm](/engine/
Edit `GetForestTreeFrame`: Edit `GetForestTreeFrame`:
```asm ```diff
GetForestTreeFrame: GetForestTreeFrame:
; Return 0 if a is even, or 2 if odd. ; Return 0 if a is even, or 2 if odd.
- and a - and a
@@ -661,5 +661,5 @@ Edit `GetForestTreeFrame`:
- xor a - xor a
+ and 1 + and 1
+ add a + add a
ret ret
``` ```