ref: b6af751f7bb5c600454b18e0f0c0dc38f9cca730
parent: 92ce7aeb5d94190af5d47c5c2545ac910e7f135b
author: Clownacy <Clownacy@users.noreply.github.com>
date: Wed Jul 8 12:41:49 EDT 2020
Convert NPC 129's rects to decimal
--- a/src/NpcAct120.cpp
+++ b/src/NpcAct120.cpp
@@ -684,29 +684,29 @@
void ActNpc129(NPCHAR *npc)
{
RECT rect[18] = {
- {0x80, 0x30, 0x90, 0x40},
- {0x90, 0x30, 0xA0, 0x40},
- {0xA0, 0x30, 0xB0, 0x40},
+ {128, 48, 144, 64},
+ {144, 48, 160, 64},
+ {160, 48, 176, 64},
- {0x80, 0x40, 0x90, 0x50},
- {0x90, 0x40, 0xA0, 0x50},
- {0xA0, 0x40, 0xB0, 0x50},
+ {128, 64, 144, 80},
+ {144, 64, 160, 80},
+ {160, 64, 176, 80},
- {0x80, 0x50, 0x90, 0x60},
- {0x90, 0x50, 0xA0, 0x60},
- {0xA0, 0x50, 0xB0, 0x60},
+ {128, 80, 144, 96},
+ {144, 80, 160, 96},
+ {160, 80, 176, 96},
- {0xB0, 0x30, 0xC0, 0x40},
- {0xC0, 0x30, 0xD0, 0x40},
- {0xD0, 0x30, 0xE0, 0x40},
+ {176, 48, 192, 64},
+ {192, 48, 208, 64},
+ {208, 48, 224, 64},
- {0xB0, 0x40, 0xC0, 0x50},
- {0xC0, 0x40, 0xD0, 0x50},
- {0xD0, 0x40, 0xE0, 0x50},
+ {176, 64, 192, 80},
+ {192, 64, 208, 80},
+ {208, 64, 224, 80},
- {0xB0, 0x50, 0xC0, 0x60},
- {0xC0, 0x50, 0xD0, 0x60},
- {0xD0, 0x50, 0xE0, 0x60},
+ {176, 80, 192, 96},
+ {192, 80, 208, 96},
+ {208, 80, 224, 96},
};
if (++npc->ani_wait > 1)