编译结果: public function cmdlist_Map1Event10Page1_1() { // Type: 1, Indent: 0 showDialog("公主", "文本1"); } public function cmdlist_Map1Event10Page1_2() { // Type: 4, Indent: 0 Game.switches[1] = false; Game.variables[2] = 0; giveCondition(Game.switches[1] == true); } public function cmdlist_Map1Event10Page1_3() { // Type: 1, Indent: 1 Game.variables[2] += 1; showDialog("公主", "文本2"); } public function cmdlist_Map1Event10Page1_4() { // Type: 5, Indent: 1 Game.variables[2] += 10; /* ELSE */ } public function cmdlist_Map1Event10Page1_5() { // Type: 1, Indent: 1 Game.variables[2] += 100; showDialog("公主", "文本3"); } public function cmdlist_Map1Event10Page1_6() { // Type: 0, Indent: 1 Game.variables[2] += 1000; /* END IF */ } public function cmdlist_Map1Event10Page1_7() { // Type: 1, Indent: 0 Game.variables[2] *= 2; showDialog("公主", "" + Game.variables[2].toString()); } public function cmdlist_Map1Event10Page1_8() { // Type: 4, Indent: 0 giveCondition(Game.switches[1] == true); } public function cmdlist_Map1Event10Page1_9() { // Type: 0, Indent: 1 trace("哈哈1"); Game.map.events[eventID].setSelfSwitch("A", false); Game.map.events[eventID].setSelfSwitch("B", false); Game.map.events[eventID].setSelfSwitch("C", true); Game.variables[1] = Game.variables[2] = Game.variables[3] = Game.variables[4] = Game.variables[5] = Game.variables[6] = 0; Game.switches[1] = Game.switches[2] = Game.switches[3] = Game.switches[4] = Game.switches[5] = Game.switches[6] = Game.switches[7] = Game.switches[8] = Game.switches[9] = Game.switches[10] = false; trace("哈哈2"); /* END IF */ } public function cmdlist_Map1Event10Page1_10() { // Type: 0, Indent: 0 trace("哈哈3"); }
|