mirror of
https://github.com/Ninjdai1/pokeemerald.git
synced 2025-01-13 07:03:40 +01:00
More prep
This commit is contained in:
parent
26f9776f6f
commit
17303d963e
@ -1490,8 +1490,13 @@
|
|||||||
goto_eq \dest
|
goto_eq \dest
|
||||||
.endm
|
.endm
|
||||||
|
|
||||||
.macro giveitem item, amount=1, function=0
|
.macro giveitem_std item, amount=1, function=0
|
||||||
setorcopyvar 0x8000, \item
|
setorcopyvar 0x8000, \item
|
||||||
setorcopyvar 0x8001, \amount
|
setorcopyvar 0x8001, \amount
|
||||||
callstd \function
|
callstd \function
|
||||||
.endm
|
.endm
|
||||||
|
|
||||||
|
.macro givedecoration_std decoration
|
||||||
|
setorcopyvar 0x8000, \decoration
|
||||||
|
callstd 7
|
||||||
|
.endm
|
||||||
|
6
constants/variables.inc
Normal file
6
constants/variables.inc
Normal file
@ -0,0 +1,6 @@
|
|||||||
|
.equiv FACING, 0x800C
|
||||||
|
.equiv RESULT, 0x800D
|
||||||
|
.equiv ITEM_ID, 0x800E
|
||||||
|
.equiv LAST_TALKED, 0x800F
|
||||||
|
.equiv CONTEST_RANK, 0x8010
|
||||||
|
.equiv CONTEST_CATEGORY, 0x8011
|
@ -1,6 +1,7 @@
|
|||||||
.include "asm/macros.inc"
|
.include "asm/macros.inc"
|
||||||
.include "asm/macros/event.inc"
|
.include "asm/macros/event.inc"
|
||||||
.include "constants/constants.inc"
|
.include "constants/constants.inc"
|
||||||
|
.include "constants/variables.inc"
|
||||||
|
|
||||||
.section script_data, "aw", %progbits
|
.section script_data, "aw", %progbits
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user