Difference between revisions of "Script Function: Q5GP"
From Ultima Online: The Second Age
(Created page with "function void Q4BQ() { for(int Q629 = 0x00; Q629 < numInList(Q67L); Q629 ++) { int Q4XM = getObjType(Q67L[Q629]); if((Q4XM == 0x0192) || (Q4XM == 0x0193)) {...") |
|||
| Line 1: | Line 1: | ||
| − | function void Q4BQ( | + | function void Q4BQ() |
| − | |||
| − | |||
{ | { | ||
| − | int | + | for(int Q629 = 0x00; Q629 < numInList(Q67L); Q629 ++) |
| − | |||
{ | { | ||
| − | removeItem(Q67L, Q629); | + | int Q4XM = getObjType(Q67L[Q629]); |
| − | + | if((Q4XM == 0x0192) || (Q4XM == 0x0193)) | |
| + | { | ||
| + | removeItem(Q67L, Q629); | ||
| + | removeItem(Q67K, Q629); | ||
| + | } | ||
} | } | ||
| + | return(); | ||
} | } | ||
| − | |||
| − | |||
Latest revision as of 19:17, 12 October 2018
function void Q4BQ()
{
for(int Q629 = 0x00; Q629 < numInList(Q67L); Q629 ++)
{
int Q4XM = getObjType(Q67L[Q629]);
if((Q4XM == 0x0192) || (Q4XM == 0x0193))
{
removeItem(Q67L, Q629);
removeItem(Q67K, Q629);
}
}
return();
}