-
Notifications
You must be signed in to change notification settings - Fork 3
/
doggo.h
39 lines (39 loc) · 2.66 KB
/
doggo.h
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
//TODO: we should also swap animations and palettes based on what doggo we have
//FIXME: $2363 is used to dynamically load doggo, but rarely used
#include <stdint.h>
enum doggo_consts { DOGGO_ACT0=0xba, DOGGO_ACT1=0xb2, DOGGO_ACT2=0xb6,
DOGGO_ACT3=0xb8, DOGGO_ACT4=0xbc, DOGGO_BONE=0xb4 };
static const uint8_t doggo_vals[] = {
DOGGO_ACT0, DOGGO_ACT1, DOGGO_ACT2, DOGGO_ACT3, DOGGO_ACT4
};
enum doggo_flags { DOGGO_FLAG_HARD=0x1, DOGGO_FLAG_OPENWORLD=0x2 };
struct doggo { uint32_t addr; uint8_t val; uint8_t flags; };
static const struct doggo doggos[] = {
{0x12c9d2,0xb6,0}, {0x12c9dc,0xb8,0}, {0x12db8d,0xb2,0}, {0x12dba4,0xb2,0},
{0x12dbbb,0xb6,0}, {0x12dbd2,0xb6,0}, {0x12dbe9,0xb8,0}, {0x12dbf7,0xb8,0},
{0x12dc7c,0xbc,0}, {0x12e4c0,0xba,0}, {0x12ea84,0xba,0}, {0x12ea8f,0xbc,0},
{0x12eaa2,0xba,0}, {0x138479,0xb2,0}, {0x1384ff,0xb2,0}, {0x13912f,0xb2,0},
{0x139542,0xb2,0}, {0x13e01a,0xb2,0}, {0x14ce7e,0xb2,0}, {0x14e1f1,0xb2,0},
{0x14e580,0xb2,0}, {0x14e5fe,0xb2,0}, {0x14e798,0xb2,0}, {0x158446,0xb6,0},
{0x159464,0xb6,0}, {0x159aed,0xb6,0}, {0x15a8c6,0xb6,0}, {0x15b32c,0xb6,0},
{0x15bac2,0xb6,0}, {0x15c177,0xb6,0}, {0x15ca76,0xb6,0}, {0x15cfad,0xb6,0},
{0x15d42f,0xb6,0}, {0x15d6ff,0xb6,0}, {0x15dcf8,0xb6,0}, {0x15e057,0xb6,0},
{0x15e0b1,0xb6,0}, {0x15e0c7,0xb6,0}, {0x15e509,0xb6,0}, {0x16b5b1,0xb6,0},
{0x16bda4,0xb6,0}, {0x16c4cd,0xb6,0}, {0x16cfec,0xb6,0}, {0x16d6a3,0xb6,0},
{0x1785fa,0xb6,0}, {0x178e37,0xb2,0}, {0x17906d,0xb6,0}, {0x1794da,0xb6,0},
{0x179a98,0xb6,0}, {0x179cf5,0xb6,0}, {0x17a2bc,0xb6,0}, {0x17a7f6,0xb6,0},
{0x17aec3,0xb6,0}, {0x17beab,0xb6,0}, {0x17cd14,0xb2,0}, {0x17d839,0xb6,0},
{0x17de60,0xb6,0}, {0x17e856,0xb6,0}, {0x188963,0xb8,0}, {0x189069,0xb8,0},
{0x189c9a,0xb8,0}, {0x18a330,0xb8,0}, {0x18a34d,0xb8,0}, {0x18b0cc,0xb8,0},
{0x18b188,0xb8,0}, {0x18b34c,0xb8,0}, {0x18b82d,0xb8,0}, {0x198254,0xb8,0},
{0x19a6e3,0xb8,0}, {0x19a7fd,0xb8,0}, {0x19c2cd,0xb8,0}, {0x19ccde,0xb8,0},
{0x19cddf,0xb8,0}, {0x19d835,0xb8,0}, {0x19db1c,0xb8,0}, {0x19ed13,0xb6,0},
{0x1a8c2e,0xb8,0}, {0x1aa2d2,0xb8,0}, {0x1aaafe,0xb8,0}, {0x1abadd,0xb8,0},
{0x1ac3bc,0xb8,0}, {0x1acd7a,0xb8,0}, {0x1acdf1,0xbc,0}, {0x1ad38b,0xb8,0},
{0x1ad3f9,0xbc,0}, {0x1b8016,0xbc,0}, {0x1b85d7,0xbc,0}, {0x1b88f1,0xbc,1},
{0x1b8cfc,0xbc,0}, {0x1b8fcb,0xbc,0}, {0x1b92f7,0xbc,0}, {0x1b9e94,0xbc,0},
{0x1b9f49,0xbc,0}, {0x1bb961,0xbc,1}, {0x1bb99b,0xbc,1}, {0x1bba37,0xbc,0},
{0x1bbcdc,0xba,0}, {0x1bbeb5,0xb2,0}, {0x1bbef6,0xb6,0}, {0x1bbf37,0xb8,0},
{0x1bbf7a,0xba,0}, {0x1bbf93,0xb2,0}, {0x1bdd36,0xbc,0}, {0x1bdd76,0xba,0},
{0x1bde0a,0xbc,0}, {0x1be2b7,0xbc,0}, {0x1ab8a2,0xb6,2},
};