summaryrefslogtreecommitdiff
path: root/asm/macros
diff options
context:
space:
mode:
authorGriffinR <griffin.g.richards@gmail.com>2020-01-12 23:24:52 -0500
committerGriffinR <griffin.g.richards@gmail.com>2020-01-12 23:24:52 -0500
commitc19289596da7ccd86219d3f7e246a2e48a2f9ed7 (patch)
tree8af252dfc3158cc98719c50474adeb6067ce5edd /asm/macros
parente497fc64e302f6c9257da5a9435d2905e2e780a8 (diff)
Give/Take to Add/Remove for silent script macros
Diffstat (limited to 'asm/macros')
-rw-r--r--asm/macros/event.inc14
1 files changed, 7 insertions, 7 deletions
diff --git a/asm/macros/event.inc b/asm/macros/event.inc
index 298e8eb7c..abb2eb13a 100644
--- a/asm/macros/event.inc
+++ b/asm/macros/event.inc
@@ -476,7 +476,7 @@
.endm
@ Removes quantity of item index from the player's Bag.
- .macro takeitem index:req, quantity=1
+ .macro removeitem index:req, quantity=1
.byte 0x45
.2byte \index
.2byte \quantity
@@ -503,7 +503,7 @@
.endm
@ Adds a quantity amount of item index to the player's PC. Both arguments can be variables.
- .macro givepcitem index:req, quantity:req
+ .macro addpcitem index:req, quantity:req
.byte 0x49
.2byte \index
.2byte \quantity
@@ -523,7 +523,7 @@
.endm
@ Removes a decoration from the player's PC. In FireRed, this command is a nop. (The argument is read, but not used for anything.)
- .macro takedecoration decoration:req
+ .macro removedecoration decoration:req
.byte 0x4c
.2byte \decoration
.endm
@@ -1050,14 +1050,14 @@
.endm
@ If check is 0x00, this command adds value to the player's money.
- .macro givemoney value:req, check:req
+ .macro addmoney value:req, check:req
.byte 0x90
.4byte \value
.byte \check
.endm
@ If check is 0x00, this command subtracts value from the player's money.
- .macro takemoney value:req, check:req
+ .macro removemoney value:req, check:req
.byte 0x91
.4byte \value
.byte \check
@@ -1281,12 +1281,12 @@
.2byte \out
.endm
- .macro givecoins count:req
+ .macro addcoins count:req
.byte 0xb4
.2byte \count
.endm
- .macro takecoins count:req
+ .macro removecoins count:req
.byte 0xb5
.2byte \count
.endm