@@ -62,10 +62,15 @@ local player_static_addresses = {
62
62
63
63
local player_static_struct = {
64
64
[0x004 ] = { type = " u32" , name = " character" },
65
+ -- [0x008] = { type = "u32", name = "mode" },
65
66
[0x00C ] = { type = " u16" , name = " transformed" },
66
67
[0x044 ] = { type = " u8" , name = " skin" },
68
+ -- [0x045] = { type = "u8", name = "port" },
67
69
[0x046 ] = { type = " u8" , name = " color" },
68
70
[0x047 ] = { type = " u8" , name = " team" },
71
+ -- [0x048] = { type = "u8", name = "index" },
72
+ -- [0x049] = { type = "u8", name = "cpu_level", debug = true },
73
+ -- [0x04A] = { type = "u8", name = "cpu_type", debug = true }, -- 4 = 20XX, 22 = normalish, 19 = Alt Normal
69
74
}
70
75
71
76
for id , address in ipairs (player_static_addresses ) do
@@ -90,6 +95,8 @@ for id, address in ipairs(player_static_addresses) do
90
95
name = (" player.%i.%s" ):format (id , name ),
91
96
struct = {
92
97
[0x60 + 0x0004 ] = { type = " u32" , name = " character" },
98
+ -- [0x60 + 0x000C] = { type = "u8", name = "port" },
99
+ -- [0x60 + 0x0618] = { type = "u8", name = "index" },
93
100
[0x60 + 0x0619 ] = { type = " u8" , name = " skin" },
94
101
[0x60 + 0x061A ] = { type = " u8" , name = " color" },
95
102
[0x60 + 0x061B ] = { type = " u8" , name = " team" },
@@ -101,6 +108,11 @@ for id, address in ipairs(player_static_addresses) do
101
108
[0x60 + 0x0650 ] = { type = " float" , name = " controller.analog.float" },
102
109
[0x60 + 0x065C ] = { type = " u32" , name = " controller.buttons.pressed" },
103
110
[0x60 + 0x0660 ] = { type = " u32" , name = " controller.buttons.pressed_previous" },
111
+
112
+ --[[
113
+ [0x60 + 0x1A94] = { type = "u32", name = "cpu_type" },
114
+ [0x60 + 0x1A98] = { type = "u32", name = "cpu_level" },
115
+ ]]
104
116
},
105
117
}
106
118
end
@@ -130,8 +142,8 @@ game.memorymap[CSSDT_BUF_ADDR] = {
130
142
[0x040 ] = { type = " u8" , name = " connection_state" },
131
143
[0x041 ] = { type = " u8" , name = " local_player.ready" },
132
144
[0x042 ] = { type = " u8" , name = " remote_player.ready" },
133
- [0x043 ] = { type = " u8" , name = " local_player.index" , debug = true },
134
- [0x044 ] = { type = " u8" , name = " remote_player.index" , debug = true },
145
+ [0x043 ] = { type = " u8" , name = " local_player.index" },
146
+ [0x044 ] = { type = " u8" , name = " remote_player.index" },
135
147
[0x045 ] = { type = " u32" , name = " rng_offset" },
136
148
[0x049 ] = { type = " u8" , name = " delay_frames" },
137
149
-- [0x04A] = { type = "data", size = 31, name = "player.1.name" },
0 commit comments