10 uint8_t figure_type1 = 0;
16 if (sub_spell_flag != 1)
21 uint16_t map_size = *(uint16_t *)(world + 0x11187);
22 for (uint16_t i = 0, j = 9; j != 0; j--, i += 7)
24 uint16_t cell_x = *(uint16_t *)(world + i) + _this->
effects[effect_index].
position.
X;
25 uint16_t cell_y = *(uint16_t *)(world + i + 2) + _this->
effects[effect_index].
position.
Y;
26 if ((cell_x < map_size) && (cell_y < map_size))
28 uint8_t flags = *(uint8_t *)(world + 0x1118A + (cell_y * 0x400 + cell_x) * 6);
29 if ((flags & 0x10) != 0)
31 uint16_t target_index =
51 uint8_t figure_type2 = 0;
56 if (!figure_type2 || !figure_index2)
67 uint16_t effect_index)
71 uint8_t figure_type1 = 0;
78 uint8_t figure_type2 = 0;
83 if (!figure_type2 || !figure_index2)
96 uint8_t figure_type1 = 0;
102 uint8_t figure_type2 = 0;
107 if (!figure_type2 || !figure_index2)
111 if (!figure_type1 || !source_index)