mirror of
https://github.com/notwa/mm
synced 2024-11-05 00:19:02 -08:00
better name for magic field
This commit is contained in:
parent
02af8b23f2
commit
dc6b205d35
3 changed files with 3 additions and 3 deletions
|
@ -117,7 +117,7 @@ return {
|
||||||
name = AL(0x2C, 8),
|
name = AL(0x2C, 8),
|
||||||
max_hearts = AL(0x34, 2),
|
max_hearts = AL(0x34, 2),
|
||||||
hearts = AL(0x36, 2),
|
hearts = AL(0x36, 2),
|
||||||
has_magic = AL(0x38, 1), -- ?
|
magic_level = AL(0x38, 1),
|
||||||
magic = AL(0x39, 1),
|
magic = AL(0x39, 1),
|
||||||
rupees = AL(0x3A, 2),
|
rupees = AL(0x3A, 2),
|
||||||
navi_timer = AL(0x3C, 4), -- ?
|
navi_timer = AL(0x3C, 4), -- ?
|
||||||
|
|
|
@ -49,7 +49,7 @@ return {
|
||||||
name = AL(0x24, 8),
|
name = AL(0x24, 8),
|
||||||
max_hearts = AL(0x2E, 2),
|
max_hearts = AL(0x2E, 2),
|
||||||
hearts = AL(0x30, 2),
|
hearts = AL(0x30, 2),
|
||||||
has_magic = AL(0x32, 1), -- ?
|
magic_level = AL(0x32, 1),
|
||||||
magic = AL(0x33, 1),
|
magic = AL(0x33, 1),
|
||||||
rupees = AL(0x34, 2),
|
rupees = AL(0x34, 2),
|
||||||
navi_timer = AL(0x38, 2),
|
navi_timer = AL(0x38, 2),
|
||||||
|
|
|
@ -87,7 +87,7 @@ else
|
||||||
W1(addr, bit.bor(R1(addr), 0x02))
|
W1(addr, bit.bor(R1(addr), 0x02))
|
||||||
end
|
end
|
||||||
|
|
||||||
set(a.has_magic, 2) -- 2 for double
|
set(a.magic_level, 2)
|
||||||
set(a.has_normal_magic, 1)
|
set(a.has_normal_magic, 1)
|
||||||
set(a.has_double_magic, 1)
|
set(a.has_double_magic, 1)
|
||||||
a.quest_items (0x00FFFFFF)
|
a.quest_items (0x00FFFFFF)
|
||||||
|
|
Loading…
Reference in a new issue