function script CheckLauncher { if (getequipid(equip_arrow) == -1) @LauncherType = 0; return; } function script CheckAmmo { if ((@LauncherType == @AmmoType) || (!@LauncherType)) goto L_Return; callfunc "UnequipLater"; goto L_Return; L_Return: @LauncherType = 0; @AmmoType = 0; return; }