Skip to content

Commit

Permalink
Merge pull request #2 from DerpPrincess/richterdatafixes
Browse files Browse the repository at this point in the history
Richterdatafixes
  • Loading branch information
sonicdcer authored Aug 7, 2024
2 parents 9cc373b + 6b52864 commit 6aa9728
Show file tree
Hide file tree
Showing 7 changed files with 221 additions and 204 deletions.
11 changes: 1 addition & 10 deletions config/symbols.us.ric.txt
Original file line number Diff line number Diff line change
@@ -1,11 +1,2 @@
g_PlOvlSpritesheet = 0x8013C020;
g_RicFactoryBlueprints = 0x80154A6C;
D_80154CF4 = 0x80154CF4;
D_80154E5C = 0x80154E5C;
D_8015519C = 0x8015519C;
D_80155368 = 0x80155368;
D_80155964 = 0x80155964;
D_80155D9C = 0x80155D9C; // type:s32 size:0x40
D_80155DDC = 0x80155DDC; // type:u16 size:0x60
UpdateEntityRichter = 0x80157BFC;
D_80155EFC = 0xD_80155EFC; // type:s16 size:0x180
UpdateEntityRichter = 0x80157BFC;
2 changes: 1 addition & 1 deletion src/ric/2A060.c
Original file line number Diff line number Diff line change
Expand Up @@ -707,7 +707,7 @@ void func_80167964(Entity* entity) {
FLAG_UNK_04000000 | FLAG_UNK_10000;
}
if (!(entity->params & 0xFF00)) {
g_Entities[D_80155D30[entity->animFrameDuration]].palette = 0x8140;
g_Entities[D_80155D30[entity->animFrameDuration]].palette = PAL_OVL(0x140);
}
g_Entities[D_80155D30[entity->animFrameDuration]].ext.player.unkA4 = 4;
entity->animFrameDuration++;
Expand Down
4 changes: 2 additions & 2 deletions src/ric/319C4.c
Original file line number Diff line number Diff line change
Expand Up @@ -2106,8 +2106,8 @@ void EntitySubwpnBible(Entity* self) {
}
}

const SVECTOR D_80156C50 = {0x0000, 0x0000, 0x0000, 0x0000};
const SVECTOR D_80156C58 = {0xFFA0, 0x0000, 0x0000, 0x0000};
static const SVECTOR D_80156C50 = {0x0000, 0x0000, 0x0000, 0x0000};
static const SVECTOR D_80156C58 = {0xFFA0, 0x0000, 0x0000, 0x0000};

void EntityGiantSpinningCross(Entity* self) {
MATRIX m;
Expand Down
48 changes: 24 additions & 24 deletions src/ric/d_19C70.c
Original file line number Diff line number Diff line change
Expand Up @@ -35,36 +35,36 @@ s16 D_80155D30[] = {

s16 D_80155D64[4][6] = {
{
0x0002,
0xFFFE,
0x0000,
0xFFFC,
0x0000,
0x0000,
2,
-2,
0,
-4,
0,
0
},
{
0xFFFD,
0xFFFD,
0xFFFF,
0x0001,
0x0002,
0x0000,
-3,
-3,
-1,
1,
2,
0,
},
{
0xFFFC,
0xFFFD,
0x0002,
0xFFFE,
0xFFFE,
0x0002,
-4,
-3,
2,
-2,
-2,
2,
},
{
0xFFFF,
0x0000,
0x0000,
0xFFFC,
0x0003,
0x0003,
-1,
0,
0,
-4,
3,
3,
},
};

Expand Down
Loading

0 comments on commit 6aa9728

Please sign in to comment.