RGBDS syntax updates (#905)

New MACRO and DEF syntax
This commit is contained in:
vulcandth
2022-06-06 16:25:42 -05:00
committed by GitHub
parent a4d346cc8c
commit 3648afda16
179 changed files with 2546 additions and 2545 deletions

View File

@@ -1,14 +1,14 @@
NUM_ODD_EGGS EQU 14
DEF NUM_ODD_EGGS EQU 14
prob: MACRO
prob_total += \1
MACRO prob
DEF prob_total += \1
dw prob_total * $ffff / 100
ENDM
OddEggProbabilities:
; entries correspond to OddEggs (below)
table_width 2, OddEggProbabilities
prob_total = 0
DEF prob_total = 0
; Pichu
prob 8
prob 1