Commit 1ef3572
Grind main/menu_favo: FavoDraw name-index computed before posX/posY in nameFont loop (96.53% -> 96.70%) (#17665)
Ghidra 80162360 nameFont loop (lines 313-330): iVar8 (TableStrings name lookup,
char(foodId)+0x17d) is materialized with the foodId sign-bias (xoris) emitted ahead
of the entry->x/entry->y bias loads. Our source computed posY/posX before name,
inverting that schedule. Moving the name lookup ahead matches the target's
xoris/extsb order. Drops FavoDraw misalign 12->10.
Co-authored-by: Zachary Canann <zacharycanann@gmail.com>
Co-authored-by: Claude Opus 4.8 <noreply@anthropic.com>1 parent 3a718db commit 1ef3572
1 file changed
Lines changed: 1 addition & 1 deletion
File tree
- src
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
239 | 239 | | |
240 | 240 | | |
241 | 241 | | |
| 242 | + | |
242 | 243 | | |
243 | 244 | | |
244 | | - | |
245 | 245 | | |
246 | 246 | | |
247 | 247 | | |
| |||
0 commit comments