summaryrefslogtreecommitdiff
path: root/engine/events
diff options
context:
space:
mode:
authorRangi <remy.oukaour+rangi42@gmail.com>2021-04-20 21:17:09 -0400
committerRangi <remy.oukaour+rangi42@gmail.com>2021-04-20 21:17:09 -0400
commit40dbe0df049a51bd2f0553c51579b80009072ea6 (patch)
treee029d3b7f8da22868b85dc5d349be3e7c50a6123 /engine/events
parent2449cd915436fd204a4096620db99fb5f9dde8fd (diff)
Use rgbds 0.5.0
Diffstat (limited to 'engine/events')
-rw-r--r--engine/events/print_unown_2.asm16
1 files changed, 4 insertions, 12 deletions
diff --git a/engine/events/print_unown_2.asm b/engine/events/print_unown_2.asm
index 4926bf53..aae80b11 100644
--- a/engine/events/print_unown_2.asm
+++ b/engine/events/print_unown_2.asm
@@ -95,17 +95,9 @@ RotateUnownFrontpic:
jr nz, .loop_count
ret
-gbprinterrect: MACRO
-y = 0
-rept \1
-x = \1 * (\2 - 1) + y
-rept \2
- dw wGameboyPrinter2bppSource tile x
-x = x - \2
+UnownPrinter_GBPrinterRectangle:
+for y, 7
+for x, 7 - 1, -1, -1
+ dw wGameboyPrinter2bppSource tile (x * 7 + y)
endr
-y = y + 1
endr
-ENDM
-
-UnownPrinter_GBPrinterRectangle:
- gbprinterrect 7, 7