void zol.usub_4635.txt(int Arg_x) { int LLocal1 = Arg_x; do { if (Global40886 != Global7829) { if (*ItemHeldByCreature[2] != 255) { if (*ItemHeldByCreature[2] >= 140) { if (*ItemHeldByCreature[4] >= 254) { if ((*ItemHeldByCreature[1] & 63) == SelectedCreatureXPos) { if (SelectedCreatureYPos == *ItemHeldByCreature[(1 - 1)]) { IsCreatureUnderCursorIs1 = (IsCreatureUnderCursorIs1 - 1); if (IsCreatureUnderCursorIs1 != 0) { CreatureUnderCursorMapInfo-lo = ItemHeldByCreature-lo; CreatureUnderCursorMapInfo-hi = ItemHeldByCreature-hi; Global202 = *ItemHeldByCreature[2]; Global205 = Global7829; } else { Global46 = ItemHeldByCreature-lo; Global47 = ItemHeldByCreature-hi; Global206 = *ItemHeldByCreature[2]; Global207 = Global7829; break; }//EndIF; 46AC }//EndIF; 46AC }//EndIF; 46AC }//EndIF; 46AC }//EndIF; 46AC }//EndIF; 46AC }//EndIF; 46AC ItemHeldByCreature-lo = (ItemHeldByCreature-lo + 6); if ((ItemHeldByCreature-lo >= 0)) { ItemHeldByCreature-hi = (ItemHeldByCreature-hi + 1); }//EndIF; 46B8 Global7829 = (Global7829 + 1); LLocal1 = (LLocal1 - 1); } while (LLocal1 != 0);//LoopEndWh 46BE return();// 46C0 };