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