diff --git a/src/code_80091750.c b/src/code_80091750.c index 9e86b2f24..b6208f4ac 100644 --- a/src/code_80091750.c +++ b/src/code_80091750.c @@ -2514,7 +2514,6 @@ Gfx* func_800959F8(Gfx* displayListHead, Vtx* arg1) { } else { index = ((gTextColor * 2) + ((s32) gGlobalTimer % 2)) - 4; } - #ifdef AVOID_UB gSPVertex(displayListHead++, arg1, 2, 0); gSPVertex(displayListHead++, &arg1[(index + 1) * 2], 2, 2); diff --git a/src/data_segment2.h b/src/data_segment2.h index 88ae0db04..01cec042c 100644 --- a/src/data_segment2.h +++ b/src/data_segment2.h @@ -17,6 +17,7 @@ extern Gfx D_020077A8[]; extern Gfx D_020077D8[]; extern Gfx D_020077F8[]; extern Gfx D_02007818[]; +#ifndef AVOID_UB extern Gfx D_02007838[]; extern Gfx D_02007858[]; extern Gfx D_02007878[]; @@ -41,6 +42,7 @@ extern Gfx D_02007AB8[]; extern Gfx D_02007AD8[]; extern Gfx D_02007AF8[]; extern Gfx D_02007B18[]; +#endif extern Gfx D_02007F18[]; extern Gfx D_02007F48[]; extern Gfx D_02007F60[];