summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRangi <remy.oukaour+rangi42@gmail.com>2019-02-17 13:39:12 -0500
committerRangi <remy.oukaour+rangi42@gmail.com>2019-02-17 13:39:12 -0500
commita7c655eb67f29c792ec3d666566c50d375668f62 (patch)
tree3cc3c2c2279737a18ed675daf74d0c54048d3b84
parent47495e7d66177e1ecfcbe21809e2de79c2beb6d2 (diff)
asm -> diff
-rw-r--r--docs/design_flaws.md4
1 files changed, 2 insertions, 2 deletions
diff --git a/docs/design_flaws.md b/docs/design_flaws.md
index 21a2aa510..fe8418600 100644
--- a/docs/design_flaws.md
+++ b/docs/design_flaws.md
@@ -636,7 +636,7 @@ The routine `GetForestTreeFrame` in [engine/tilesets/tileset_anims.asm](/engine/
Edit `GetForestTreeFrame`:
-```asm
+```diff
GetForestTreeFrame:
; Return 0 if a is even, or 2 if odd.
- and a
@@ -661,5 +661,5 @@ Edit `GetForestTreeFrame`:
- xor a
+ and 1
+ add a
- ret
+ ret
```