R
Ragna
Guest
Not related, but, isn't that code redundant?My QGears tool for conversion outputs:
0000036F: void script_av_b_2_0_init() {
0000036F: Char(1);
00000371: placeObject(0, 0, 3437, 31524, 642);
0000037C: setSolid(1);
0000037C: if (game:variable_get(2_0) >= 8) {
00000386: setTalkable(1);
00000388: setSolid(1);
0000038A: }
0000038A: setVisible(0);
0000038C: return;
0000038C: }
From:
0000036f: CHAR 1
00000371: XYZI 0, 0, 3437, 31524, 642, 47
0000037c: SOLID 1
0000037e: IFSW 2, 0, 0, 8, 4, 7 (False target address: 0x38a)
00000386: TLKON 1
00000388: SOLID 1
0000038a: VISI 0
0000038c: RET
It seems that VISI 0 should be outside of the if statement, but your tool is including it inside of the if statement? Is this a bug in your tool or mine? I think its yours because 0x37e+7+5 = 0x38A which is the VISI 0 meaning this will be executed when the if block is not entered.