ES
games/alis / src / Alis / PatchesVars.php · commit 9c722cf
<?phpnamespace App\Alis;/** File-scope variables of alis/src/patches.c (MIT, Olivier Huguenot, Vadim Kindl). */final class PatchesVars{    /** C: static const u8 ishar1_sav_le_old[48] (zero padded) */    public const ishar1_sav_le_old = [        0x1e, 0x00, 0x00, 0x12, 0x19, 0x1e, 0x38, 0x12, 0x19, 0x10, 0x1c, 0x01, 0x3a, 0x08, 0x3c, 0x01,        0x1e, 0x38, 0x08, 0x3c, 0x01, 0x9e, 0x3a, 0x0a, 0x0a, 0x01, 0x20, 0x0a, 0x0a, 0x01, 0x22, 0x20,        0x42, 0x20, 0x00, 0x01, 0x12, 0x19, 0x1f, 0x38, 0x12, 0x19, 0x4e, 0x00, 0x07, 0x3a, 0x15, 0xd5,    ];    /** C: static const u8 ishar1_sav_be_old[48] (zero padded) */    public const ishar1_sav_be_old = [        0x1e, 0x00, 0x00, 0x12, 0x19, 0x1e, 0x38, 0x12, 0x19, 0x10, 0x01, 0x1c, 0x3a, 0x08, 0x01, 0x3c,        0x1e, 0x38, 0x08, 0x01, 0x3c, 0x9e, 0x3a, 0x0a, 0x01, 0x0a, 0x20, 0x0a, 0x01, 0x0a, 0x22, 0x42,        0x20, 0x20, 0x00, 0x01, 0x12, 0x19, 0x1f, 0x38, 0x12, 0x19, 0x4e, 0x00, 0x07, 0x3a, 0x15, 0xd5,    ];    /** C: static const u8 ishar1_sav_le_new[48] (zero padded) */    public const ishar1_sav_le_new = [        0x21, 0x00, 0x01, 0x12, 0x19, 0x1e, 0x38, 0x12, 0x19, 0x10, 0x1c, 0x01, 0x9e, 0x88, 0x22, 0x20,        0x42, 0x3a, 0x22, 0x20, 0x42, 0x1f, 0x12, 0x19, 0x15, 0xe6, 0x08, 0x14,    ];    /** C: static const u8 ishar1_sav_be_new[48] (zero padded) */    public const ishar1_sav_be_new = [        0x21, 0x00, 0x01, 0x12, 0x19, 0x1e, 0x38, 0x12, 0x19, 0x10, 0x01, 0x1c, 0x9e, 0x88, 0x22, 0x42,        0x20, 0x3a, 0x22, 0x42, 0x20, 0x1f, 0x12, 0x19, 0x15, 0xe6, 0x08, 0x14,    ];    /** C: static const u8 ishar1_bar1_le_old[110] (zero padded) */    public const ishar1_bar1_le_old = [        0x1f, 0x38, 0x12, 0x22, 0x28, 0x42, 0x15, 0x54, 0x00, 0x00, 0x40, 0x12, 0x22, 0x26, 0x64, 0x16,        0x4c, 0x00, 0xff, 0x42, 0x36, 0x3a, 0x14, 0x27, 0x00, 0x00, 0x1e, 0x38, 0x12, 0x22, 0x28, 0x5a,        0x15, 0x5e, 0x00, 0x64, 0x40, 0x12, 0x22, 0x28, 0x42, 0x15, 0x5c, 0x36, 0x3a, 0x14, 0xcc, 0x1e,        0x38, 0x02, 0xcc, 0x10, 0x5c, 0x14, 0xcc, 0x58, 0x00, 0x05, 0x3a, 0x14, 0xd0, 0x0a, 0x05, 0x00,        0x00, 0x1e, 0x00, 0xfb, 0x14, 0xd0, 0x49, 0x38, 0x14, 0xd0, 0x40, 0x12, 0x22, 0x5e, 0x00, 0x40,        0x56, 0x36, 0x3a, 0x38, 0x00, 0x15, 0x40, 0x12, 0x22, 0x5e, 0x00, 0x0a, 0x56, 0x36, 0x3a, 0x00,        0x0c, 0x00, 0x03, 0x38, 0x12, 0x22, 0x56, 0x00, 0x13, 0x3a, 0x0a, 0x24, 0x00, 0x00,    ];    /** C: static const u8 ishar1_bar1_be_old[110] (zero padded) */    public const ishar1_bar1_be_old = [        0x1f, 0x38, 0x12, 0x22, 0x28, 0x15, 0x42, 0x54, 0x00, 0x00, 0x40, 0x12, 0x22, 0x26, 0x16, 0x64,        0x4c, 0x00, 0xff, 0x42, 0x36, 0x3a, 0x14, 0x00, 0x00, 0x27, 0x1e, 0x38, 0x12, 0x22, 0x28, 0x15,        0x5a, 0x5e, 0x00, 0x64, 0x40, 0x12, 0x22, 0x28, 0x15, 0x42, 0x5c, 0x36, 0x3a, 0x14, 0xcc, 0x1e,        0x38, 0x02, 0x10, 0xcc, 0x5c, 0x14, 0xcc, 0x58, 0x00, 0x05, 0x3a, 0x14, 0xd0, 0x0a, 0x00, 0x00,        0x05, 0x1e, 0x00, 0xfb, 0x14, 0xd0, 0x49, 0x38, 0x14, 0xd0, 0x40, 0x12, 0x22, 0x5e, 0x00, 0x40,        0x56, 0x36, 0x3a, 0x38, 0x00, 0x15, 0x40, 0x12, 0x22, 0x5e, 0x00, 0x0a, 0x56, 0x36, 0x3a, 0x00,        0x0c, 0x00, 0x03, 0x38, 0x12, 0x22, 0x56, 0x00, 0x13, 0x3a, 0x0a, 0x00, 0x00, 0x24,    ];    /** C: static const u8 ishar1_bar1_le_new[110] (zero padded) */    public const ishar1_bar1_le_new = [        0x05, 0x27, 0x49, 0x38, 0x14, 0xd0, 0x40, 0x12, 0x22, 0x5e, 0x00, 0x40, 0x56, 0x36, 0x3a, 0x38,        0x00, 0x15, 0x40, 0x12, 0x22, 0x5e, 0x00, 0x0a, 0x56, 0x36, 0x3a, 0x00, 0x0c, 0x00, 0x03, 0x38,        0x12, 0x22, 0x56, 0x00, 0x13, 0x3a, 0x08, 0x6a, 0x00, 0x1e, 0x00, 0xfb, 0x14, 0xd0, 0x1e, 0x38,        0x12, 0x22, 0x28, 0x5a, 0x15, 0x5c, 0x02, 0x48, 0x01, 0x56, 0x00, 0x01, 0x3a, 0x14, 0xcc, 0x1f,        0x38, 0x12, 0x22, 0x28, 0x42, 0x15, 0x50, 0x14, 0xcc, 0x3a, 0x12, 0x21, 0x20, 0x38, 0x02, 0xcc,        0x10, 0x40, 0x12, 0x22, 0x28, 0x5a, 0x15, 0x5c, 0x14, 0xcc, 0x5e, 0x00, 0x64, 0x40, 0x12, 0x22,        0x28, 0x42, 0x15, 0x5c, 0x14, 0xcc, 0x5c, 0x36, 0x5c, 0x36, 0x3a, 0x14, 0xd0, 0x11,    ];    /** C: static const u8 ishar1_bar1_be_new[110] (zero padded) */    public const ishar1_bar1_be_new = [        0x05, 0x27, 0x49, 0x38, 0x14, 0xd0, 0x40, 0x12, 0x22, 0x5e, 0x00, 0x40, 0x56, 0x36, 0x3a, 0x38,        0x00, 0x15, 0x40, 0x12, 0x22, 0x5e, 0x00, 0x0a, 0x56, 0x36, 0x3a, 0x00, 0x0c, 0x00, 0x03, 0x38,        0x12, 0x22, 0x56, 0x00, 0x13, 0x3a, 0x08, 0x6a, 0x00, 0x1e, 0x00, 0xfb, 0x14, 0xd0, 0x1e, 0x38,        0x12, 0x22, 0x28, 0x15, 0x5a, 0x5c, 0x02, 0x01, 0x48, 0x56, 0x00, 0x01, 0x3a, 0x14, 0xcc, 0x1f,        0x38, 0x12, 0x22, 0x28, 0x15, 0x42, 0x50, 0x14, 0xcc, 0x3a, 0x12, 0x21, 0x20, 0x38, 0x02, 0x10,        0xcc, 0x40, 0x12, 0x22, 0x28, 0x15, 0x5a, 0x5c, 0x14, 0xcc, 0x5e, 0x00, 0x64, 0x40, 0x12, 0x22,        0x28, 0x15, 0x42, 0x5c, 0x14, 0xcc, 0x5c, 0x36, 0x5c, 0x36, 0x3a, 0x14, 0xd0, 0x11,    ];    /** C: static const u8 ishar1_bar2_le_old[59] (zero padded) */    public const ishar1_bar2_le_old = [        0x1f, 0x38, 0x12, 0x22, 0x28, 0x42, 0x15, 0x54, 0x00, 0x00, 0x3a, 0x14, 0x27, 0x00, 0x00, 0x1e,        0x38, 0x12, 0x22, 0x28, 0x5a, 0x15, 0x5e, 0x00, 0x64, 0x40, 0x12, 0x22, 0x28, 0x42, 0x15, 0x5c,        0x36, 0x3a, 0x14, 0xcc, 0x1e, 0x38, 0x02, 0xcc, 0x10, 0x5c, 0x14, 0xcc, 0x58, 0x00, 0x05, 0x3a,        0x14, 0xd0, 0x0a, 0x05, 0x00, 0x00, 0x1e, 0x00, 0xfb, 0x14, 0xd0,    ];    /** C: static const u8 ishar1_bar2_be_old[59] (zero padded) */    public const ishar1_bar2_be_old = [        0x1f, 0x38, 0x12, 0x22, 0x28, 0x15, 0x42, 0x54, 0x00, 0x00, 0x3a, 0x14, 0x00, 0x00, 0x27, 0x1e,        0x38, 0x12, 0x22, 0x28, 0x15, 0x5a, 0x5e, 0x00, 0x64, 0x40, 0x12, 0x22, 0x28, 0x15, 0x42, 0x5c,        0x36, 0x3a, 0x14, 0xcc, 0x1e, 0x38, 0x02, 0x10, 0xcc, 0x5c, 0x14, 0xcc, 0x58, 0x00, 0x05, 0x3a,        0x14, 0xd0, 0x0a, 0x00, 0x00, 0x05, 0x1e, 0x00, 0xfb, 0x14, 0xd0,    ];    /** C: static const u8 ishar1_bar2_new[59] (zero padded) */    public const ishar1_bar2_new = [        0x06, 0x00, 0x00, 0x08, 0x36,    ];    /** C: static const sScriptFix script_fixes[]: uid, what, len, le_old, be_old, le_new, be_new, call_fix, call_at, call_to */    public const script_fixes = [        [C::EGameIshar_1, 'save name keeps old characters', 48,            'ishar1_sav_le_old', 'ishar1_sav_be_old', 'ishar1_sav_le_new', 'ishar1_sav_be_new', 0, 0, 0],        [C::EGameIshar_1, 'health bar overflow (redraw)', 110,            'ishar1_bar1_le_old', 'ishar1_bar1_be_old', 'ishar1_bar1_le_new', 'ishar1_bar1_be_new', 0, 0, 0],        [C::EGameIshar_1, 'health bar overflow (update)', 59,            'ishar1_bar2_le_old', 'ishar1_bar2_be_old', 'ishar1_bar2_new', 'ishar1_bar2_new', 2, 1, 41],    ];}