diff options
| author | Rangi <remy.oukaour+rangi42@gmail.com> | 2021-05-23 22:09:02 -0400 | 
|---|---|---|
| committer | Rangi <remy.oukaour+rangi42@gmail.com> | 2021-05-23 22:09:02 -0400 | 
| commit | 346ce9454aac5ed9bd000d637f146b31f5a6f29d (patch) | |
| tree | 6e2224dd76e2c28df9bba82765a6dec580b60b41 /engine | |
| parent | 715496bf351a4141fb8a47977ef49c956857d26e (diff) | |
Use macros for bit arrays
Diffstat (limited to 'engine')
| -rw-r--r-- | engine/items/item_effects.asm | 3 | 
1 files changed, 2 insertions, 1 deletions
| diff --git a/engine/items/item_effects.asm b/engine/items/item_effects.asm index 38ea37c0..915d4930 100644 --- a/engine/items/item_effects.asm +++ b/engine/items/item_effects.asm @@ -2614,9 +2614,10 @@ IsKeyItem_::  	jr nc, .checkIfItemIsHM  ; if the item is not an HM or TM  	push af -	ld hl, KeyItemBitfield +	ld hl, KeyItemFlags  	ld de, wBuffer  	ld bc, 15 ; only 11 bytes are actually used +	assert 15 >= (NUM_ITEMS + 7) / 8  	call CopyData  	pop af  	dec a | 
