Skip to content

Commit

Permalink
A small cleanup PR (#494)
Browse files Browse the repository at this point in the history
* Update code_80005FD0.c

* Update code_80091750.c

* Update course_data.inc.c
  • Loading branch information
MegaMech committed Nov 14, 2023
1 parent fcbd54f commit 97522fb
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 6 deletions.
3 changes: 3 additions & 0 deletions courses/dks_jungle_parkway/course_data.inc.c
Original file line number Diff line number Diff line change
Expand Up @@ -4178,6 +4178,9 @@ TrackWaypoint d_course_dks_jungle_parkway_unknown_waypoints[] = {
{3, 0, 251, 0},
{3, 0, 45, 0},
{-32768, 0, 0, 0},
};

TrackWaypoint d_course_dks_jungle_parkway_unknown_waypoints2[] = {
{1237, 0, -1373, 0},
{1206, 0, -1365, 0},
{877, 0, -1272, 0},
Expand Down
2 changes: 1 addition & 1 deletion src/code_80005FD0.c
Original file line number Diff line number Diff line change
Expand Up @@ -4955,7 +4955,7 @@ void func_800120C8(void) {

void func_80012190(void) {
TrackWaypoint *tree;
s32 i = 0;
s32 i;

tree = (TrackWaypoint *) VIRTUAL_TO_PHYSICAL2(gSegmentTable[SEGMENT_NUMBER2(d_frappe_snowland_tree)] + (SEGMENT_OFFSET(d_frappe_snowland_tree)));

Expand Down
10 changes: 5 additions & 5 deletions src/code_80091750.c
Original file line number Diff line number Diff line change
Expand Up @@ -12604,15 +12604,15 @@ void func_800AB9B0(struct_8018D9E0_entry *arg0) {
}

void func_800ABAE8(struct_8018D9E0_entry *arg0) {
s32 phi_v1;
s32 index;

if (arg0->type == 0x8C) {
phi_v1 = 4;
index = 4;
} else {
phi_v1 = arg0->type - 0x78;
index = arg0->type - 0x78;
}
arg0->column = D_800E7430[phi_v1].column;
arg0->row = D_800E7430[phi_v1].row;
arg0->column = D_800E7430[index].column;
arg0->row = D_800E7430[index].row;
}

void func_800ABB24(struct_8018D9E0_entry *arg0) {
Expand Down

0 comments on commit 97522fb

Please sign in to comment.