1 | function scr_itemget_ch1 |
2 | { |
3 | i = 0; |
4 | loop = 1; |
5 | noroom = 0; |
6 | global.item[12] = 999; |
7 | while (loop == 1) |
8 | { |
9 | if (global.item[i] == 0) |
10 | { |
11 | global.item[i] = arg0; |
12 | break; |
13 | } |
14 | if (i == 12) |
15 | { |
16 | noroom = 1; |
17 | break; |
18 | } |
19 | i += 1; |
20 | } |
21 | script_execute(scr_iteminfo_all_ch1); |
22 | } |