1
0
Fork 0
mirror of https://github.com/notwa/mm synced 2024-11-05 00:29:02 -08:00

better name for magic field

This commit is contained in:
Connor Olding 2015-05-26 01:17:38 -07:00
parent 02af8b23f2
commit dc6b205d35
3 changed files with 3 additions and 3 deletions

View file

@ -117,7 +117,7 @@ return {
name = AL(0x2C, 8),
max_hearts = AL(0x34, 2),
hearts = AL(0x36, 2),
has_magic = AL(0x38, 1), -- ?
magic_level = AL(0x38, 1),
magic = AL(0x39, 1),
rupees = AL(0x3A, 2),
navi_timer = AL(0x3C, 4), -- ?

View file

@ -49,7 +49,7 @@ return {
name = AL(0x24, 8),
max_hearts = AL(0x2E, 2),
hearts = AL(0x30, 2),
has_magic = AL(0x32, 1), -- ?
magic_level = AL(0x32, 1),
magic = AL(0x33, 1),
rupees = AL(0x34, 2),
navi_timer = AL(0x38, 2),

View file

@ -87,7 +87,7 @@ else
W1(addr, bit.bor(R1(addr), 0x02))
end
set(a.has_magic, 2) -- 2 for double
set(a.magic_level, 2)
set(a.has_normal_magic, 1)
set(a.has_double_magic, 1)
a.quest_items (0x00FFFFFF)