ArduinoGotchi icon indicating copy to clipboard operation
ArduinoGotchi copied to clipboard

fix the discipline issue

Open Almarch opened this issue 1 year ago • 0 comments

this is a transposition of the fix: https://github.com/jcrona/tamalib/commit/08f9371f606da7195d4be19afcb072e17b6fc202 tackling an issue with the display of discipline. Here is a working example (the creature should be grounded, and the discipline should increase as a consequence):

static const uint8_t hardcodedState[] PROGMEM = { 0x85,0x01,0x22,0x00,0x03,0x02,0x00,0x00,0x01,0xE9,0x00,0xE5,0xB4,0x8F,0x16,0x00, 0x80,0x8F,0x16,0xDC,0xB4,0x8F,0x16,0x01,0x05,0x07,0x04,0x00,0x00,0x00,0xD3,0x03, 0x00,0x01,0x00,0x0C,0x00,0x00,0x00,0x0A,0x00,0x00,0x00,0x08,0x07,0x00,0x00,0x06, 0x00,0x00,0x00,0x04,0x00,0x08,0x00,0x02,0x0E,0x00,0xE0,0x20,0x18,0x00,0x00,0x00, 0x01,0x42,0xD0,0x00,0x00,0x00,0x00,0x00,0x00,0xF0,0xB0,0x00,0x00,0x00,0x08,0x1F, 0x1D,0xB3,0x80,0xD7,0x39,0x09,0xF0,0xE0,0xFB,0x00,0x00,0x01,0x70,0x0F,0x00,0x00, 0x10,0x00,0x10,0x0A,0xFF,0x50,0x02,0x11,0x00,0x13,0xAC,0x10,0xDF,0xBC,0x01,0x51, 0xC0,0x00,0xF0,0x8A,0x00,0x0F,0xFF,0x50,0x30,0x04,0x80,0x00,0x00,0x00,0x00,0x00, 0x13,0x23,0x33,0xFF,0xC1,0xC1,0xC1,0xC1,0x00,0x36,0x03,0x92,0x32,0x00,0x00,0x00, 0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00, 0x00,0x00,0x00,0x07,0x71,0x4B,0x17,0x71,0x77,0x17,0x71,0x77,0x1D,0x70,0x00,0x11, 0x10,0xF8,0x40,0xDD,0x04,0xAF,0xE2,0x50,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00, 0x00,0x00,0x00,0x0E,0x01,0x82,0x80,0x8C,0x8C,0x80,0x82,0x01,0x0E,0x00,0x00,0x00, 0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00, 0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00, 0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00, 0x00,0x00,0x00,0x10,0x20,0x40,0x40,0x40,0x40,0x40,0x40,0x20,0x10,0x00,0x00,0x00, 0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00, 0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00, 0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0xC1,0xC3,0xDF,0xF3,0x01,0x00,0x04,0x63, 0xAE,0x46,0x30,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00, 0x90,0x41,0x23,0xC3,0xED,0x3C,0x01,0x99,0x46,0x56,0x08,0x11,0x00,0x00,0x00,0x00, 0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00, 0x70,0x00,0x00,0x00,0x00,0x00,0x00,0x00,};

Almarch avatar Oct 16 '23 10:10 Almarch