mirror of
https://github.com/Ninjdai1/pokeemerald.git
synced 2024-11-16 19:47:35 +01:00
Fix some stuff
This commit is contained in:
parent
c23a633a44
commit
26f9776f6f
@ -1489,3 +1489,9 @@
|
||||
compare_var_to_value 0x8000, \condition
|
||||
goto_eq \dest
|
||||
.endm
|
||||
|
||||
.macro giveitem item, amount=1, function=0
|
||||
setorcopyvar 0x8000, \item
|
||||
setorcopyvar 0x8001, \amount
|
||||
callstd \function
|
||||
.endm
|
||||
|
@ -1,5 +1,5 @@
|
||||
.include "asm/macros.inc"
|
||||
.include "asm/macros/events.inc"
|
||||
.include "asm/macros/event.inc"
|
||||
.include "constants/constants.inc"
|
||||
|
||||
.section script_data, "aw", %progbits
|
||||
|
Loading…
Reference in New Issue
Block a user