Changing bool to uint8_t, adding box to nds