13 uint8_t figure_type1 = 0;
21 if (sub_spell_flag != 1)
26 uint16_t map_size = *(uint16_t *)(world + 0x11187);
27 for (uint16_t i = 0, j = 9; j != 0; j--, i += 7)
29 uint16_t cell_x = *(uint16_t *)(world + i) +
31 uint16_t cell_y = *(uint16_t *)(world + i + 2) +
33 if ((cell_x < map_size) && (cell_y < map_size))
35 uint8_t flags = *(uint8_t *)(world + 0x1118A +
36 (cell_y * 0x400 + cell_x) * 6);
37 if ((flags & 0x10) != 0)
39 uint16_t target_index =
69 uint8_t figure_type2 = 0;
75 if (!figure_type2 || !figure_index2)
122 uint16_t effect_index)
128 uint8_t figure_type1 = 0;
136 uint8_t figure_type2 = 0;
142 if (!figure_type2 || !figure_index2)
146 if (!figure_type1 || !source_index)