File tree Expand file tree Collapse file tree 1 file changed +3
-7
lines changed Expand file tree Collapse file tree 1 file changed +3
-7
lines changed Original file line number Diff line number Diff line change @@ -81,9 +81,6 @@ void displayArtAttackHitboxes()
81
81
uint8_t HSV[4 ]; // Extra slot at the end
82
82
*reinterpret_cast <uint32_t *>(&HSV) = 0x00FFCCFF ; // RGBA value is 0xCC0000FF
83
83
84
- // Set up a variable to handle adjusting the hue for the lines of the hitboxes
85
- uint8_t HueAdjustment = 0 ;
86
-
87
84
// Get the address of the write gather pipe, and handle the value at the address as a float
88
85
volatile float *WriteGatherPipe = reinterpret_cast <float *>(0xCC008000 );
89
86
@@ -125,10 +122,6 @@ void displayArtAttackHitboxes()
125
122
continue ;
126
123
}
127
124
128
- // Adjust the hue for the lines of the current hitbox
129
- HSV[0 ] += HueAdjustment;
130
- HueAdjustment += 30 ;
131
-
132
125
// Get the RGB equivalent of the HSV value; Alpha is discarded
133
126
uint32_t HitboxLineColor = ttyd::fontmgr::HSV2RGB (HSV);
134
127
@@ -245,6 +238,9 @@ void displayArtAttackHitboxes()
245
238
*WriteGatherPipe = ScreenPointOut2[1 ];
246
239
*WriteGatherPipe = 0 ;
247
240
}
241
+
242
+ // Adjust the hue for the lines of the next hitbox
243
+ HSV[0 ] += 45 ;
248
244
}
249
245
}
250
246
}
You can’t perform that action at this time.
0 commit comments