You've already forked pokecrystal-board
mirror of
https://gitlab.com/xCrystal/pokecrystal-board.git
synced 2025-04-09 05:44:44 -07:00
Use compound assignment operators
This commit is contained in:
@@ -1,7 +1,7 @@
|
||||
NUM_ODD_EGGS EQU 14
|
||||
|
||||
prob: MACRO
|
||||
prob_total = prob_total + (\1)
|
||||
prob_total += \1
|
||||
dw prob_total * $ffff / 100
|
||||
ENDM
|
||||
|
||||
|
@@ -9,7 +9,7 @@ rept _NARG
|
||||
if DEF(\1_TMNUM)
|
||||
n = (\1_TMNUM - 1) / 8
|
||||
i = (\1_TMNUM - 1) % 8
|
||||
_tm{d:n} = _tm{d:n} | (1 << i)
|
||||
_tm{d:n} |= 1 << i
|
||||
else
|
||||
fail "\1 is not a TM, HM, or tutor move"
|
||||
endc
|
||||
|
@@ -9,7 +9,7 @@ rept _NARG - 1
|
||||
shift
|
||||
endr
|
||||
db 0
|
||||
list_index = list_index + 1
|
||||
list_index += 1
|
||||
ENDM
|
||||
|
||||
RoamMaps:
|
||||
|
Reference in New Issue
Block a user