summaryrefslogtreecommitdiff
path: root/asm/macros/event.inc
diff options
context:
space:
mode:
authorGriffinR <griffin.g.richards@gmail.com>2021-11-16 13:55:02 -0500
committerGriffinR <griffin.g.richards@gmail.com>2021-11-16 15:43:52 -0500
commit5d9c31a610d8a6680a44b772fc1b88135d3884c3 (patch)
treed776a819221dec62b96314d2b172a50bb743007d /asm/macros/event.inc
parent63c5905914b40d33e45a6a3101ab5a7da4375918 (diff)
Label slot machine ids, fix GetPriceReduction
Diffstat (limited to 'asm/macros/event.inc')
-rw-r--r--asm/macros/event.inc8
1 files changed, 4 insertions, 4 deletions
diff --git a/asm/macros/event.inc b/asm/macros/event.inc
index 9c735f666..58b3b8329 100644
--- a/asm/macros/event.inc
+++ b/asm/macros/event.inc
@@ -1107,10 +1107,10 @@
.4byte \products
.endm
- @ Starts up the slot machine minigame.
- .macro playslotmachine word:req
+ @ Starts up the slot machine minigame. id is a SLOT_MACHINE_* value that influences probabilities of certain reel outcomes.
+ .macro playslotmachine id:req
.byte 0x89
- .2byte \word
+ .2byte \id
.endm
@ Sets a berry tree's specific berry and growth stage.
@@ -1197,7 +1197,7 @@
.endm
@ Gets the price reduction for the index given.
- .macro getpricereduction index:req
+ .macro getpokenewsactive index:req
.byte 0x96
.2byte \index
.endm