› Foros › PlayStation 3 › Scene
; Decoded VSMX file written by Rcomage v1.1.1NAME logo_hd
NAME Actor
CONST_STRING "logo"
CALL_INBUILT args=1
ASSIGN
END_STATEMENT
NAME blur_hd
NAME Actor
CONST_STRING "blur"
CALL_INBUILT args=1
ASSIGN
END_STATEMENT
NAME footer_hd
NAME Actor
CONST_STRING "footer"
CALL_INBUILT args=1
ASSIGN
END_STATEMENT
NAME logo_sd
NAME Actor
CONST_STRING "logo_sd"
CALL_INBUILT args=1
ASSIGN
END_STATEMENT
NAME blur_sd
NAME Actor
CONST_STRING "blur_sd"
CALL_INBUILT args=1
ASSIGN
END_STATEMENT
NAME footer_sd
NAME Actor
CONST_STRING "footer_sd"
CALL_INBUILT args=1
ASSIGN
END_STATEMENT
NAME camera
NAME Camera
CONST_STRING "camera"
CALL_INBUILT args=1
ASSIGN
END_STATEMENT
NAME light
NAME Light
CONST_STRING "pointlight"
CALL_INBUILT args=1
ASSIGN
END_STATEMENT
NAME first_wait
CONST_FLOAT 1.50000
ASSIGN
END_STATEMENT
NAME appear_duration
CONST_FLOAT 1.30000
ASSIGN
END_STATEMENT
NAME appear_wait
CONST_FLOAT 0.250000
NEGATE
ASSIGN
END_STATEMENT
NAME blur_duration
CONST_FLOAT 0.500000
ASSIGN
END_STATEMENT
NAME blur_wait
CONST_FLOAT 0.250000
ASSIGN
END_STATEMENT
NAME whole_duration
CONST_FLOAT 0.500000
ASSIGN
END_STATEMENT
NAME whole_wait
CONST_FLOAT 0.500000
ASSIGN
END_STATEMENT
NAME fade_duration
CONST_FLOAT 1.20000
ASSIGN
END_STATEMENT
NAME appear_start_time
NAME first_wait
ASSIGN
END_STATEMENT
NAME blur_start_time
NAME appear_start_time
NAME appear_duration
ADD
NAME appear_wait
ADD
ASSIGN
END_STATEMENT
NAME whole_start_time
NAME blur_start_time
NAME blur_duration
ADD
NAME blur_wait
ADD
ASSIGN
END_STATEMENT
NAME fade_start_time
NAME whole_start_time
NAME whole_duration
ADD
NAME whole_wait
ADD
ASSIGN
END_STATEMENT
NAME logo
NAME logo_hd
ASSIGN
END_STATEMENT
NAME blur
NAME blur_hd
ASSIGN
END_STATEMENT
NAME footer
NAME footer_hd
ASSIGN
END_STATEMENT
NAME logo_hide
NAME logo_sd
ASSIGN
END_STATEMENT
NAME blur_hide
NAME blur_sd
ASSIGN
END_STATEMENT
NAME footer_hide
NAME footer_sd
ASSIGN
END_STATEMENT
NAME br
CONST_FLOAT 1.00000
ASSIGN
END_STATEMENT
NAME System
PROPERTY resolution
UNKNOWN_4a 0x4a
CONST_INT 720
TEST_EQUAL
JUMP_IF_FALSE line=250
NAME br
CONST_FLOAT 0.800000
ASSIGN
END_STATEMENT
NAME logo
NAME logo_sd
ASSIGN
END_STATEMENT
NAME blur
NAME blur_sd
ASSIGN
END_STATEMENT
NAME footer
NAME footer_sd
ASSIGN
END_STATEMENT
NAME logo_hide
NAME logo_hd
ASSIGN
END_STATEMENT
NAME blur_hide
NAME blur_hd
ASSIGN
END_STATEMENT
NAME footer_hide
NAME footer_hd
ASSIGN
END_STATEMENT
NAME camera
PROPERTY aspect
CONST_FLOAT 4.00000
CONST_FLOAT 3.00000
DIVIDE
TEST_EQUAL
JUMP_IF_FALSE line=215
NAME sd_offset_x
CONST_FLOAT 1.25000
ASSIGN
END_STATEMENT
NAME logo
NAME sd_offset_x
UNKNOWN_4d 0x4d
END_STATEMENT
NAME blur
NAME sd_offset_x
UNKNOWN_4d 0x4d
END_STATEMENT
NAME footer
NAME sd_offset_x
UNKNOWN_4d 0x4d
END_STATEMENT
NAME sd_scale
CONST_FLOAT 1.00000
CONST_FLOAT 0.500000
CONST_FLOAT 0.500000
UNKNOWN_49 0x49
ASSIGN
END_STATEMENT
NAME logo
NAME sd_scale
SET scale
END_STATEMENT
NAME blur
NAME sd_scale
SET scale
END_STATEMENT
NAME footer
NAME sd_scale
SET scale
END_STATEMENT
JUMP line=250
NAME sd_offset_x
CONST_FLOAT 2.00000
ASSIGN
END_STATEMENT
NAME logo
NAME sd_offset_x
UNKNOWN_4d 0x4d
END_STATEMENT
NAME blur
NAME sd_offset_x
UNKNOWN_4d 0x4d
END_STATEMENT
NAME footer
NAME sd_offset_x
UNKNOWN_4d 0x4d
END_STATEMENT
NAME sd_scale
CONST_FLOAT 1.00000
CONST_FLOAT 0.500000
CONST_FLOAT 0.500000
UNKNOWN_49 0x49
ASSIGN
END_STATEMENT
NAME logo
NAME sd_scale
SET scale
END_STATEMENT
NAME blur
NAME sd_scale
SET scale
END_STATEMENT
NAME footer
NAME sd_scale
SET scale
END_STATEMENT
NAME logo_hide
CONST_INT 0
CONST_INT 0
CONST_INT 0
CONST_INT 0
UNKNOWN_49 0x49
SET color
END_STATEMENT
NAME blur_hide
CONST_INT 0
CONST_INT 0
CONST_INT 0
CONST_INT 0
UNKNOWN_49 0x49
SET color
END_STATEMENT
NAME footer_hide
CONST_INT 0
CONST_INT 0
CONST_INT 0
CONST_INT 0
UNKNOWN_49 0x49
SET color
END_STATEMENT
NAME logo
NAME br
NAME br
NAME br
CONST_INT 0
UNKNOWN_49 0x49
SET color
END_STATEMENT
NAME logo
METHOD setColor
NAME br
NAME br
NAME br
CONST_INT 1
UNKNOWN_49 0x49
NAME appear_start_time
CALL_METHOD args=2
END_STATEMENT
NAME blur
NAME br
NAME br
NAME br
CONST_INT 0
UNKNOWN_49 0x49
SET color
END_STATEMENT
NAME footer
NAME br
NAME br
NAME br
CONST_INT 0
UNKNOWN_49 0x49
SET color
END_STATEMENT
NAME light
NAME logo
PROPERTY position
CONST_INT 3
NEGATE
CONST_FLOAT 0.500000
CONST_INT 0
UNKNOWN_49 0x49
ADD
SET position
END_STATEMENT
NAME light
CONST_INT 0
CONST_INT 0
CONST_INT 0
UNKNOWN_49 0x49
SET color
END_STATEMENT
NAME System
PROPERTY timer
CONST_INT 0
NAME OneShotTimer
NAME appear_start_time
FUNCTION args=0, flag=1, start_line=333
JUMP line=365
NAME light
METHOD setPosition
NAME logo
PROPERTY position
CONST_FLOAT 0.000000
CONST_FLOAT 0.500000
CONST_INT 0
UNKNOWN_49 0x49
ADD
NAME appear_duration
CALL_METHOD args=2
END_STATEMENT
NAME light
METHOD setAttenuation
CONST_FLOAT 0.100000
CONST_FLOAT 0.100000
CONST_FLOAT 0.100000
UNKNOWN_49 0x49
NAME appear_duration
CALL_METHOD args=2
END_STATEMENT
NAME light
METHOD setColor
CONST_INT 1
CONST_INT 1
CONST_INT 1
UNKNOWN_49 0x49
NAME appear_duration
CALL_METHOD args=2
END_STATEMENT
CONST_NULL
RETURN
CALL_INBUILT args=2
ARRAY_INDEX_ASSIGN
END_STATEMENT
NAME System
PROPERTY timer
CONST_INT 1
NAME OneShotTimer
NAME blur_start_time
FUNCTION args=0, flag=1, start_line=375
JUMP line=393
NAME blur
METHOD setColor
NAME br
NAME br
NAME br
CONST_INT 1
UNKNOWN_49 0x49
NAME blur_duration
NAME INTERPOLATION_BEZIER
CONST_FLOAT 0.100000
CONST_FLOAT 0.000000
CONST_FLOAT 0.100000
CONST_FLOAT 1.00000
UNKNOWN_49 0x49
CALL_METHOD args=4
END_STATEMENT
CONST_NULL
RETURN
CALL_INBUILT args=2
ARRAY_INDEX_ASSIGN
END_STATEMENT
NAME System
PROPERTY timer
CONST_INT 2
NAME OneShotTimer
NAME whole_start_time
FUNCTION args=0, flag=1, start_line=403
JUMP line=431
NAME blur
METHOD setColor
NAME br
NAME br
NAME br
CONST_INT 0
UNKNOWN_49 0x49
NAME whole_duration
NAME INTERPOLATION_BEZIER
CONST_FLOAT 0.100000
CONST_FLOAT 0.000000
CONST_FLOAT 0.100000
CONST_FLOAT 1.00000
UNKNOWN_49 0x49
CALL_METHOD args=4
END_STATEMENT
NAME footer
METHOD setColor
NAME br
NAME br
NAME br
CONST_INT 1
UNKNOWN_49 0x49
NAME whole_duration
CALL_METHOD args=2
END_STATEMENT
CONST_NULL
RETURN
CALL_INBUILT args=2
ARRAY_INDEX_ASSIGN
END_STATEMENT
NAME System
PROPERTY timer
CONST_INT 3
NAME OneShotTimer
NAME fade_start_time
FUNCTION args=0, flag=2, start_line=441
JUMP line=515
UNNAMED_VARIABLE 1
CONST_FLOAT 0.800000
CONST_FLOAT 0.000000
CONST_FLOAT 0.800000
CONST_FLOAT 1.00000
UNKNOWN_49 0x49
ASSIGN
END_STATEMENT
NAME footer
METHOD setColor
NAME br
NAME br
NAME br
CONST_INT 0
UNKNOWN_49 0x49
NAME fade_duration
NAME INTERPOLATION_BEZIER
UNNAMED_VARIABLE 1
CALL_METHOD args=4
END_STATEMENT
NAME logo
METHOD setColor
NAME br
NAME br
NAME br
CONST_INT 0
UNKNOWN_49 0x49
NAME fade_duration
NAME INTERPOLATION_BEZIER
UNNAMED_VARIABLE 1
CALL_METHOD args=4
END_STATEMENT
NAME light
METHOD setPosition
NAME light
PROPERTY position
CONST_FLOAT 1.50000
CONST_FLOAT 1.50000
MULTIPLY
CONST_INT 1
CONST_FLOAT 1.50000
MULTIPLY
CONST_INT 0
UNKNOWN_49 0x49
ADD
NAME fade_duration
NAME INTERPOLATION_BEZIER
UNNAMED_VARIABLE 1
CALL_METHOD args=4
END_STATEMENT
NAME light
METHOD setColor
CONST_INT 0
CONST_INT 0
CONST_INT 0
UNKNOWN_49 0x49
NAME fade_duration
NAME INTERPOLATION_BEZIER
UNNAMED_VARIABLE 1
CALL_METHOD args=4
END_STATEMENT
NAME light
METHOD setAttenuation
CONST_INT 0
CONST_INT 1
CONST_INT 4
UNKNOWN_49 0x49
NAME fade_duration
NAME INTERPOLATION_BEZIER
UNNAMED_VARIABLE 1
CALL_METHOD args=4
END_STATEMENT
CONST_NULL
RETURN
CALL_INBUILT args=2
ARRAY_INDEX_ASSIGN
END_STATEMENT
END_SCRIPT
rain = new Actor( "rain" );
offset = 0.000000;
camera = new Camera( "camera" );
rideau_pluie = new Actor( "Rideau_pluie" );
pluie = new Actor( "pluie_middle" );
reflet = new Actor( "reflet" );
flowater = new Actor( "flux" );
ruisselle = new Actor( "ruissel" );
updateRain = function(/*localvars=8*/) {
offset = offset - 0.0250000;
rain.uv_offset = < 0, offset >;
ruisselle.uv_offset = < 0, offset * 0.200000 >;
flowater.uv_offset = < 0, offset * 1.40000 >;
pluie.uv_offset = < 0, offset >;
rideau_pluie.uv_offset = < 0, offset * 0.550000 >;
reflet.uv_offset = < 0, offset * 0.320000 >;
__var1 = offset * 0.500000;
__var2 = Math.sin( __var1 ) * 0.300000 + Math.sin( __var1 * 2.30000 ) * 0.150000 + Math.sin( __var1 * 5.00000 ) * 0.00700000;
__var1 = offset * 0.400000 + 555.500;
__var3 = Math.sin( __var1 ) * 0.300000 + Math.sin( __var1 * 2.30000 ) * 0.150000 + Math.sin( __var1 * 5.00000 ) * 0.00700000 * 0.500000;
__var1 = offset * 0.300000 + 888.800;
__var4 = Math.sin( __var1 ) * 0.300000 + Math.sin( __var1 * 2.30000 ) * 0.150000;
camera.position = < 7.07100 + __var2, -(1.00000) + __var3, -(25.3310) + __var4 >;
__var1 = offset * 0.200000;
__var5 = Math.sin( __var1 ) * 0.300000 + Math.sin( __var1 * 2.30000 ) * 0.150000 + Math.sin( __var1 * 5.00000 ) * 0.00700000;
__var1 = offset * 0.180000 + 555.500;
__var6 = Math.sin( __var1 ) * 0.300000 + Math.sin( __var1 * 2.30000 ) * 0.150000 + Math.sin( __var1 * 5.00000 ) * 0.00700000 * 0.700000;
__var1 = offset * 0.150000 + 888.800;
__var7 = Math.sin( __var1 ) * 0.300000 + Math.sin( __var1 * 2.30000 ) * 0.150000 + Math.sin( __var1 * 5.00000 ) * 0.00700000;
camera.direction = < 0.0850000 + __var5 * 0.100000, -(0.0180000) + __var6 * 0.100000, 0.850000 + __var7 * 0.100000 >;
return null;
};
updateRain();
System.timer[0] = new IntervalTimer( 1.00000 / 60.0000, updateRain );
num_splotch = 60;
splotchs = new Array();
frames = new Array();
computeLight = function(/*localvars=8*/ __var1, __var2, __var3) {
__var4 = __var1 - 3.20000;
__var5 = __var2 + 5.60000;
__var6 = __var3 + 7.60000;
__var7 = Math.sqrt( __var4 * __var4 + __var5 * __var5 + __var6 * __var6 ) / 10.0000;
return Math.pow( Math.max( 0.000000, 1.00000 - __var7 ), 1.40000 );
return null;
};
randomizeSplotch = function(/*localvars=7*/ __var1) {
__var2 = 0;
__var3 = -(5.50000);
__var4 = 0;
__var5 = Math.random();
if( __var5 < 0.700000 ) {
__var2 = 1.50000 + Math.random() * 8.50000;
__var4 = -(12.0000) + Math.random() * 12.0000;
} else {
if( __var5 < 0.950000 ) {
__var2 = 1.70000 + Math.random() * 0.500000;
__var4 = -(12.0000) + Math.random() * 12.0000;
} else {
__var2 = 1.98000 + Math.random() * 0.100000 - 0.0500000;
__var4 = -(9.06000) + Math.random() * 0.100000 - 0.0500000;
}
}
__var1.position = < __var2, __var3, __var4 >;
__var6 = 0.700000 + Math.random() * 0.300000;
__var1.scale = < __var6, __var6, __var6 >;
__var1.setColor( < 1.00000, 1.00000, 1.00000, computeLight( __var2, __var3, __var4 ) >, 0.000000 );
return null;
};
for(i = 0; i < num_splotch; i++) {
splotchs.push( new Actor( "splotch" + i ) );
frames.push( Math.floor( Math.random() * 8.00000 ) );
randomizeSplotch( splotchs[i] );
}
updateSplotches = function(/*localvars=2*/) {
for(__var1 = 0; __var1 < num_splotch; __var1++) {
frames[__var1]++;
if( frames[__var1] == 8 ) {
randomizeSplotch( splotchs[__var1] );
frames[__var1] = 0;
}
splotchs[__var1].uv_offset = < frames[__var1] / 8.00000, 0 >;
}
System.printPerf();
return null;
};
System.timer[1] = new IntervalTimer( 1.00000 / 30.0000, updateSplotches );
System.timer[0] = new IntervalTimer( 1.00000 / 60.0000, updateRain );
rcomage vsmxdec --decompile file.jsx file.js
boticario escribió:por cierto, aplicando este comando obtendras el fichero "decodificado"rcomage vsmxdec --decompile file.jsx file.js
Te enlazo rcomage en su ultima revision.
http://www.megaupload.com/?d=0AADLD5D
// Decompiled VSMX -> Javascript output by Rcomage v1.1.1
//Note, this is highly experimental and the output probably sucks.
globalTime = 0.000000;
referenceSize = 12;
screen = {};
screen.top = 6;
screen.bottom = -(6);
screen.left = -(12);
screen.right = 12;
random = function(/*localvars=4*/ __var1, __var2) { /* ends at 58 */
__var3 = Math.abs( __var2 - __var1 );
return Math.random() * __var3 + Math.min( __var1, __var2 );
return null;
}
TimerObjects = function(/*localvars=1*/) { /* ends at 245 */
function System.interval(/*localvars=1*/) { /* ends at 80 */
globalTime = globalTime + System.interval;
return null;
; Decoded VSMX file written by Rcomage v1.1.1
NAME globalTime
CONST_FLOAT 0.000000
ASSIGN
END_STATEMENT
NAME referenceSize
CONST_INT 12
ASSIGN
END_STATEMENT
NAME screen
CONST_OBJECT
ASSIGN
END_STATEMENT
NAME screen
CONST_INT 6
SET top
END_STATEMENT
NAME screen
CONST_INT 6
NEGATE
SET bottom
END_STATEMENT
NAME screen
CONST_INT 12
NEGATE
SET left
END_STATEMENT
NAME screen
CONST_INT 12
SET right
END_STATEMENT
NAME random
FUNCTION args=2, localvars=4, start_line=36
ASSIGN
END_STATEMENT
JUMP line=59
UNNAMED_VARIABLE 3
NAME Math
METHOD abs
UNNAMED_VARIABLE 2
UNNAMED_VARIABLE 1
SUBTRACT
CALL_METHOD args=1
ASSIGN
END_STATEMENT
NAME Math
METHOD random
CALL_METHOD args=0
UNNAMED_VARIABLE 3
MULTIPLY
NAME Math
METHOD min
UNNAMED_VARIABLE 1
UNNAMED_VARIABLE 2
CALL_METHOD args=2
ADD
RETURN
CONST_NULL
RETURN
NAME TimerObjects
FUNCTION args=0, localvars=1, start_line=64
ASSIGN
END_STATEMENT
JUMP line=246
NAME System
PROPERTY timer
CONST_INT 0
NAME IntervalTimer
NAME System
PROPERTY interval
FUNCTION args=0, localvars=1, start_line=72
JUMP line=81
NAME globalTime
STACK_PUSH
NAME System
PROPERTY interval
ADD
ASSIGN
END_STATEMENT
CONST_NULL
RETURN
CALL_NEW args=2
ARRAY_INDEX_ASSIGN
END_STATEMENT
THIS_OBJECT
NAME Array
CONST_INT 0
CALL_NEW args=1
SET timerObjects
END_STATEMENT
THIS_OBJECT
FUNCTION args=3, localvars=7, start_line=93
JUMP line=123
UNNAMED_VARIABLE 4
UNNAMED_VARIABLE 1
NAME globalTime
ADD
ASSIGN
END_STATEMENT
UNNAMED_VARIABLE 5
CONST_OBJECT
UNNAMED_VARIABLE 2
OBJECT_ADD_ATTRIBUTE func
UNNAMED_VARIABLE 3
OBJECT_ADD_ATTRIBUTE data
ASSIGN
END_STATEMENT
UNNAMED_VARIABLE 6
CONST_OBJECT
UNNAMED_VARIABLE 4
OBJECT_ADD_ATTRIBUTE timeActivate
UNNAMED_VARIABLE 5
OBJECT_ADD_ATTRIBUTE timerData
ASSIGN
END_STATEMENT
THIS_OBJECT
PROPERTY timerObjects
METHOD push
UNNAMED_VARIABLE 6
CALL_METHOD args=1
END_STATEMENT
CONST_NULL
RETURN
SET addTimer
END_STATEMENT
THIS_OBJECT
FUNCTION args=0, localvars=6, start_line=128
JUMP line=242
UNNAMED_VARIABLE 1
CONST_INT 1
NEGATE
ASSIGN
END_STATEMENT
UNNAMED_VARIABLE 2
CONST_INT 0
ASSIGN
END_STATEMENT
UNNAMED_VARIABLE 3
CONST_INT 0
ASSIGN
END_STATEMENT
UNNAMED_VARIABLE 3
THIS_OBJECT
PROPERTY timerObjects
PROPERTY length
TEST_LESS_THAN
JUMP_IF_TRUE line=152
JUMP line=180
UNNAMED_VARIABLE 3
PRE_INCREMENT
END_STATEMENT
JUMP line=141
UNNAMED_VARIABLE 1
CONST_INT 1
NEGATE
TEST_EQUAL
STACK_PUSH
JUMP_IF_TRUE line=166
END_STATEMENT
UNNAMED_VARIABLE 2
THIS_OBJECT
PROPERTY timerObjects
UNNAMED_VARIABLE 3
ARRAY_INDEX
PROPERTY timeActivate
TEST_LESS_THAN
JUMP_IF_FALSE line=179
UNNAMED_VARIABLE 2
THIS_OBJECT
PROPERTY timerObjects
UNNAMED_VARIABLE 3
ARRAY_INDEX
PROPERTY timeActivate
ASSIGN
END_STATEMENT
UNNAMED_VARIABLE 1
UNNAMED_VARIABLE 3
ASSIGN
END_STATEMENT
JUMP line=148
UNNAMED_VARIABLE 1
CONST_INT 1
NEGATE
TEST_NOT_EQUAL
JUMP_IF_FALSE line=222
UNNAMED_VARIABLE 4
THIS_OBJECT
PROPERTY timerObjects
UNNAMED_VARIABLE 1
ARRAY_INDEX
PROPERTY timerData
ASSIGN
END_STATEMENT
THIS_OBJECT
PROPERTY timerObjects
UNNAMED_VARIABLE 1
THIS_OBJECT
PROPERTY timerObjects
THIS_OBJECT
PROPERTY timerObjects
PROPERTY length
CONST_INT 1
SUBTRACT
ARRAY_INDEX
ARRAY_INDEX_ASSIGN
END_STATEMENT
THIS_OBJECT
PROPERTY timerObjects
METHOD pop
CALL_METHOD args=0
END_STATEMENT
CONST_FLOAT 0.200000
NAME Math
METHOD abs
UNNAMED_VARIABLE 2
NAME globalTime
SUBTRACT
CALL_METHOD args=1
TEST_LESS_THAN
JUMP_IF_FALSE line=220
UNNAMED_VARIABLE 4
RETURN
UNNAMED_VARIABLE 5
CONST_INT 0
ASSIGN
END_STATEMENT
UNNAMED_VARIABLE 5
THIS_OBJECT
PROPERTY timerObjects
PROPERTY length
TEST_LESS_THAN
JUMP_IF_TRUE line=237
JUMP line=238
UNNAMED_VARIABLE 5
PRE_INCREMENT
END_STATEMENT
JUMP line=226
JUMP line=233
CONST_EMPTY_ARRAY
RETURN
CONST_NULL
RETURN
SET getTimerData
END_STATEMENT
CONST_NULL
RETURN
NAME timerObjects
NAME TimerObjects
CALL_NEW args=0
ASSIGN
END_STATEMENT
NAME OneShotTimerExt
FUNCTION args=3, localvars=4, start_line=256
ASSIGN
END_STATEMENT
JUMP line=291
NAME timerObjects
METHOD addTimer
UNNAMED_VARIABLE 1
UNNAMED_VARIABLE 2
UNNAMED_VARIABLE 3
CALL_METHOD args=3
END_STATEMENT
THIS_OBJECT
NAME OneShotTimer
UNNAMED_VARIABLE 1
FUNCTION args=0, localvars=2, start_line=268
JUMP line=286
UNNAMED_VARIABLE 1
NAME timerObjects
METHOD getTimerData
CALL_METHOD args=0
ASSIGN
END_STATEMENT
UNNAMED_VARIABLE 1
CONST_EMPTY_ARRAY
TEST_NOT_EQUAL
JUMP_IF_FALSE line=284
UNNAMED_VARIABLE 1
METHOD func
UNNAMED_VARIABLE 1
PROPERTY data
CALL_METHOD args=1
END_STATEMENT
CONST_NULL
RETURN
CALL_FUNCTION args=2
SET timer
END_STATEMENT
CONST_NULL
RETURN
NAME createAnimArray
FUNCTION args=2, localvars=5, start_line=296
ASSIGN
END_STATEMENT
JUMP line=332
UNNAMED_VARIABLE 3
NAME Array
UNNAMED_VARIABLE 2
PROPERTY length
CALL_NEW args=1
ASSIGN
END_STATEMENT
UNNAMED_VARIABLE 4
CONST_INT 0
ASSIGN
END_STATEMENT
UNNAMED_VARIABLE 4
UNNAMED_VARIABLE 2
PROPERTY length
TEST_LESS_THAN
JUMP_IF_TRUE line=317
JUMP line=328
UNNAMED_VARIABLE 4
PRE_INCREMENT
END_STATEMENT
JUMP line=307
UNNAMED_VARIABLE 3
UNNAMED_VARIABLE 4
UNNAMED_VARIABLE 1
METHOD getAnimIndex
UNNAMED_VARIABLE 2
UNNAMED_VARIABLE 4
ARRAY_INDEX
CALL_METHOD args=1
ARRAY_INDEX_ASSIGN
END_STATEMENT
JUMP line=313
UNNAMED_VARIABLE 3
RETURN
CONST_NULL
RETURN
NAME stopAnims
FUNCTION args=2, localvars=4, start_line=337
ASSIGN
END_STATEMENT
JUMP line=370
UNNAMED_VARIABLE 3
CONST_INT 0
ASSIGN
END_STATEMENT
UNNAMED_VARIABLE 3
UNNAMED_VARIABLE 2
PROPERTY length
TEST_LESS_THAN
JUMP_IF_TRUE line=351
JUMP line=368
UNNAMED_VARIABLE 3
PRE_INCREMENT
END_STATEMENT
JUMP line=341
UNNAMED_VARIABLE 1
METHOD setAnimWeight
UNNAMED_VARIABLE 2
UNNAMED_VARIABLE 3
ARRAY_INDEX
CONST_FLOAT 0.000000
CALL_METHOD args=2
END_STATEMENT
UNNAMED_VARIABLE 1
METHOD setAnimSpeed
UNNAMED_VARIABLE 2
UNNAMED_VARIABLE 3
ARRAY_INDEX
CONST_FLOAT 0.000000
CALL_METHOD args=2
END_STATEMENT
JUMP line=347
CONST_NULL
RETURN
NAME activeScenarios
CONST_INT 0
ASSIGN
END_STATEMENT
NAME Scenario
FUNCTION args=1, localvars=2, start_line=379
ASSIGN
END_STATEMENT
JUMP line=573
THIS_OBJECT
CONST_INT 0
SET currAct
END_STATEMENT
THIS_OBJECT
CONST_INT 0
SET actsNum
END_STATEMENT
THIS_OBJECT
NAME Array
CALL_NEW args=0
SET actions
END_STATEMENT
THIS_OBJECT
CONST_EMPTY_ARRAY
SET timer
END_STATEMENT
THIS_OBJECT
UNNAMED_VARIABLE 1
SET name
END_STATEMENT
THIS_OBJECT
CONST_BOOL false
SET runned
END_STATEMENT
THIS_OBJECT
FUNCTION args=0, localvars=3, start_line=407
JUMP line=458
THIS_OBJECT
PROPERTY actsNum
THIS_OBJECT
PROPERTY currAct
TEST_LESS_EQUAL_THAN
JUMP_IF_FALSE line=419
THIS_OBJECT
CONST_INT 0
SET actN
END_STATEMENT
CONST_NULL
RETURN
UNNAMED_VARIABLE 1
THIS_OBJECT
ASSIGN
END_STATEMENT
UNNAMED_VARIABLE 2
THIS_OBJECT
PROPERTY actions
THIS_OBJECT
PROPERTY currAct
ARRAY_INDEX
ASSIGN
END_STATEMENT
THIS_OBJECT
NAME OneShotTimerExt
UNNAMED_VARIABLE 2
METHOD action
UNNAMED_VARIABLE 2
PROPERTY actor
UNNAMED_VARIABLE 2
PROPERTY params
CALL_METHOD args=2
FUNCTION args=1, localvars=2, start_line=442
JUMP line=448
UNNAMED_VARIABLE 1
METHOD process
CALL_METHOD args=0
END_STATEMENT
CONST_NULL
RETURN
UNNAMED_VARIABLE 1
CALL_NEW args=3
SET timer
END_STATEMENT
THIS_OBJECT
PROPERTY currAct
PRE_INCREMENT
END_STATEMENT
CONST_NULL
RETURN
SET process
END_STATEMENT
THIS_OBJECT
FUNCTION args=3, localvars=4, start_line=463
JUMP line=488
THIS_OBJECT
PROPERTY runned
JUMP_IF_FALSE line=472
NAME writeln
CONST_STRING "Attemp to add action to active scenario - skipped"
CALL_FUNCTION args=1
END_STATEMENT
CONST_NULL
RETURN
THIS_OBJECT
PROPERTY actions
THIS_OBJECT
PROPERTY actsNum
INCREMENT
CONST_OBJECT
UNNAMED_VARIABLE 3
OBJECT_ADD_ATTRIBUTE action
UNNAMED_VARIABLE 1
OBJECT_ADD_ATTRIBUTE actor
UNNAMED_VARIABLE 2
OBJECT_ADD_ATTRIBUTE params
ARRAY_INDEX_ASSIGN
END_STATEMENT
CONST_NULL
RETURN
SET add
END_STATEMENT
THIS_OBJECT
FUNCTION args=0, localvars=1, start_line=493
JUMP line=531
NAME activeScenarios
STACK_PUSH
CONST_INT 1
ADD
ASSIGN
END_STATEMENT
THIS_OBJECT
METHOD add
NAME scenario
CONST_EMPTY_ARRAY
FUNCTION args=2, localvars=3, start_line=505
JUMP line=519
NAME activeScenarios
STACK_PUSH
CONST_INT 1
SUBTRACT
ASSIGN
END_STATEMENT
THIS_OBJECT
CONST_BOOL false
SET runned
END_STATEMENT
CONST_INT 0
RETURN
CONST_NULL
RETURN
CALL_METHOD args=3
END_STATEMENT
THIS_OBJECT
CONST_BOOL true
SET runned
END_STATEMENT
THIS_OBJECT
METHOD process
CALL_METHOD args=0
END_STATEMENT
CONST_NULL
RETURN
SET begin
END_STATEMENT
THIS_OBJECT
FUNCTION args=0, localvars=3, start_line=536
JUMP line=569
UNNAMED_VARIABLE 1
CONST_INT 0
ASSIGN
END_STATEMENT
UNNAMED_VARIABLE 1
THIS_OBJECT
PROPERTY actions
PROPERTY length
TEST_LESS_THAN
JUMP_IF_TRUE line=551
JUMP line=567
UNNAMED_VARIABLE 1
INCREMENT
END_STATEMENT
JUMP line=540
UNNAMED_VARIABLE 2
THIS_OBJECT
PROPERTY actions
UNNAMED_VARIABLE 1
ARRAY_INDEX
ASSIGN
END_STATEMENT
UNNAMED_VARIABLE 2
METHOD action
UNNAMED_VARIABLE 2
PROPERTY actor
UNNAMED_VARIABLE 2
PROPERTY params
CALL_METHOD args=2
END_STATEMENT
JUMP line=547
CONST_NULL
RETURN
SET doAllAtOnce
END_STATEMENT
CONST_NULL
RETURN
NAME Char
FUNCTION args=9, localvars=10, start_line=578
ASSIGN
END_STATEMENT
JUMP line=1371
THIS_OBJECT
NAME Actor
UNNAMED_VARIABLE 1
CALL_NEW args=1
SET model
END_STATEMENT
THIS_OBJECT
NAME createAnimArray
THIS_OBJECT
PROPERTY model
UNNAMED_VARIABLE 2
CALL_FUNCTION args=2
SET idles
END_STATEMENT
THIS_OBJECT
NAME createAnimArray
THIS_OBJECT
PROPERTY model
UNNAMED_VARIABLE 3
CALL_FUNCTION args=2
SET moves
END_STATEMENT
THIS_OBJECT
NAME createAnimArray
THIS_OBJECT
PROPERTY model
UNNAMED_VARIABLE 4
CALL_FUNCTION args=2
SET deaths
END_STATEMENT
THIS_OBJECT
NAME createAnimArray
THIS_OBJECT
PROPERTY model
UNNAMED_VARIABLE 5
CALL_FUNCTION args=2
SET attacks
END_STATEMENT
THIS_OBJECT
NAME createAnimArray
THIS_OBJECT
PROPERTY model
UNNAMED_VARIABLE 6
CALL_FUNCTION args=2
SET falls
END_STATEMENT
THIS_OBJECT
UNNAMED_VARIABLE 7
SET speed
END_STATEMENT
THIS_OBJECT
CONST_EMPTY_ARRAY
SET timer
END_STATEMENT
THIS_OBJECT
CONST_BOOL true
SET rotatable
END_STATEMENT
THIS_OBJECT
CONST_INT 0
SET direction
END_STATEMENT
THIS_OBJECT
UNNAMED_VARIABLE 8
SET allAnims
END_STATEMENT
THIS_OBJECT
UNNAMED_VARIABLE 9
SET allLengths
END_STATEMENT
THIS_OBJECT
CONST_ARRAY
CONST_INT 0
ARRAY_PUSH
CONST_INT 0
ARRAY_PUSH
CONST_INT 0
ARRAY_PUSH
CONST_INT 0
ARRAY_PUSH
CONST_INT 0
ARRAY_PUSH
SET defaultIdx
END_STATEMENT
THIS_OBJECT
PROPERTY model
CONST_INT 100
CONST_INT 0
CONST_INT 0
MAKE_VECTOR items=3
SET position
END_STATEMENT
THIS_OBJECT
PROPERTY model
THIS_OBJECT
PROPERTY model
PROPERTY color
CONST_FLOAT 0.260000
NEGATE
CONST_FLOAT 0.0300000
NEGATE
CONST_FLOAT 0.0500000
CONST_FLOAT 0.000000
MAKE_VECTOR items=4
SUBTRACT
SET color
END_STATEMENT
THIS_OBJECT
FUNCTION args=1, localvars=2, start_line=688
JUMP line=702
THIS_OBJECT
UNNAMED_VARIABLE 1
SET sizeMul
END_STATEMENT
THIS_OBJECT
PROPERTY model
CONST_INT 100
CONST_INT 0
CONST_INT 0
MAKE_VECTOR items=3
SET position
END_STATEMENT
CONST_NULL
RETURN
SET setup
END_STATEMENT
THIS_OBJECT
FUNCTION args=1, localvars=2, start_line=707
JUMP line=714
THIS_OBJECT
PROPERTY defaultIdx
UNNAMED_VARIABLE 1
ARRAY_INDEX
RETURN
CONST_NULL
RETURN
SET getIdx
END_STATEMENT
THIS_OBJECT
FUNCTION args=0, localvars=1, start_line=719
JUMP line=756
NAME stopAnims
THIS_OBJECT
PROPERTY model
THIS_OBJECT
PROPERTY idles
CALL_FUNCTION args=2
END_STATEMENT
NAME stopAnims
THIS_OBJECT
PROPERTY model
THIS_OBJECT
PROPERTY moves
CALL_FUNCTION args=2
END_STATEMENT
NAME stopAnims
THIS_OBJECT
PROPERTY model
THIS_OBJECT
PROPERTY deaths
CALL_FUNCTION args=2
END_STATEMENT
NAME stopAnims
THIS_OBJECT
PROPERTY model
THIS_OBJECT
PROPERTY attacks
CALL_FUNCTION args=2
END_STATEMENT
NAME stopAnims
THIS_OBJECT
PROPERTY model
THIS_OBJECT
PROPERTY falls
CALL_FUNCTION args=2
END_STATEMENT
CONST_NULL
RETURN
SET stopAnims
END_STATEMENT
THIS_OBJECT
FUNCTION args=1, localvars=2, start_line=761
JUMP line=770
UNNAMED_VARIABLE 1
STACK_PUSH
THIS_OBJECT
PROPERTY sizeMul
MULTIPLY
ASSIGN
RETURN
CONST_NULL
RETURN
SET scale
END_STATEMENT
THIS_OBJECT
FUNCTION args=2, localvars=6, start_line=775
JUMP line=854
UNNAMED_VARIABLE 2
NAME undefined
TEST_EQUAL
JUMP_IF_FALSE line=783
UNNAMED_VARIABLE 2
CONST_FLOAT 1.00000
ASSIGN
END_STATEMENT
THIS_OBJECT
METHOD stopAnims
CALL_METHOD args=0
END_STATEMENT
UNNAMED_VARIABLE 3
NAME Math
METHOD len
THIS_OBJECT
METHOD scale
UNNAMED_VARIABLE 1
CALL_METHOD args=1
THIS_OBJECT
PROPERTY model
PROPERTY position
SUBTRACT
CALL_METHOD args=1
ASSIGN
END_STATEMENT
UNNAMED_VARIABLE 4
UNNAMED_VARIABLE 3
THIS_OBJECT
PROPERTY speed
UNNAMED_VARIABLE 2
MULTIPLY
DIVIDE
ASSIGN
END_STATEMENT
UNNAMED_VARIABLE 5
THIS_OBJECT
METHOD getIdx
CONST_INT 1
CALL_METHOD args=1
ASSIGN
END_STATEMENT
THIS_OBJECT
PROPERTY model
METHOD setAnimWeight
THIS_OBJECT
PROPERTY moves
UNNAMED_VARIABLE 5
ARRAY_INDEX
CONST_FLOAT 1.00000
CALL_METHOD args=2
END_STATEMENT
THIS_OBJECT
PROPERTY model
METHOD setAnimSpeed
THIS_OBJECT
PROPERTY moves
UNNAMED_VARIABLE 5
ARRAY_INDEX
CONST_FLOAT 1.00000
UNNAMED_VARIABLE 2
MULTIPLY
CALL_METHOD args=2
END_STATEMENT
THIS_OBJECT
PROPERTY model
METHOD setPosition
THIS_OBJECT
METHOD scale
UNNAMED_VARIABLE 1
CALL_METHOD args=1
UNNAMED_VARIABLE 4
NAME INTERPOLATION_LINEAR
CALL_METHOD args=3
END_STATEMENT
UNNAMED_VARIABLE 4
RETURN
CONST_NULL
RETURN
SET moveTo
END_STATEMENT
THIS_OBJECT
FUNCTION args=2, localvars=6, start_line=859
JUMP line=898
UNNAMED_VARIABLE 3
THIS_OBJECT
PROPERTY model
PROPERTY position
THIS_OBJECT
METHOD scale
UNNAMED_VARIABLE 1
CALL_METHOD args=1
ADD
ASSIGN
END_STATEMENT
UNNAMED_VARIABLE 4
NAME Math
METHOD abs
UNNAMED_VARIABLE 1
CALL_METHOD args=1
ASSIGN
END_STATEMENT
UNNAMED_VARIABLE 5
UNNAMED_VARIABLE 4
THIS_OBJECT
PROPERTY speed
UNNAMED_VARIABLE 2
MULTIPLY
DIVIDE
ASSIGN
END_STATEMENT
THIS_OBJECT
PROPERTY model
METHOD setPosition
UNNAMED_VARIABLE 3
UNNAMED_VARIABLE 2
NAME INTERPOLATION_LINEAR
CALL_METHOD args=3
END_STATEMENT
UNNAMED_VARIABLE 2
RETURN
CONST_NULL
RETURN
SET shiftToWithTime
END_STATEMENT
THIS_OBJECT
FUNCTION args=2, localvars=3, start_line=903
JUMP line=915
THIS_OBJECT
PROPERTY model
METHOD setScale
UNNAMED_VARIABLE 1
UNNAMED_VARIABLE 2
NAME INTERPOLATION_LINEAR
CALL_METHOD args=3
END_STATEMENT
UNNAMED_VARIABLE 2
RETURN
CONST_NULL
RETURN
SET resize
END_STATEMENT
THIS_OBJECT
FUNCTION args=2, localvars=3, start_line=920
JUMP line=938
THIS_OBJECT
PROPERTY rotatable
JUMP_IF_FALSE line=934
THIS_OBJECT
PROPERTY model
METHOD setDirection
CONST_INT 0
CONST_INT 0
UNNAMED_VARIABLE 1
MAKE_VECTOR items=3
UNNAMED_VARIABLE 2
NAME INTERPOLATION_LINEAR
CALL_METHOD args=3
END_STATEMENT
UNNAMED_VARIABLE 2
RETURN
CONST_NULL
RETURN
SET rotateTo
END_STATEMENT
THIS_OBJECT
FUNCTION args=1, localvars=2, start_line=943
JUMP line=961
THIS_OBJECT
PROPERTY model
METHOD setDirection
THIS_OBJECT
PROPERTY model
PROPERTY direction
NEGATE
UNNAMED_VARIABLE 1
NAME INTERPOLATION_LINEAR
CALL_METHOD args=3
END_STATEMENT
THIS_OBJECT
METHOD setIdle
UNNAMED_VARIABLE 1
CALL_METHOD args=1
RETURN
CONST_NULL
RETURN
SET rotateBack
END_STATEMENT
THIS_OBJECT
FUNCTION args=1, localvars=3, start_line=966
JUMP line=1001
THIS_OBJECT
METHOD stopAnims
CALL_METHOD args=0
END_STATEMENT
UNNAMED_VARIABLE 2
THIS_OBJECT
METHOD getIdx
CONST_INT 0
CALL_METHOD args=1
ASSIGN
END_STATEMENT
THIS_OBJECT
PROPERTY model
METHOD setAnimWeight
THIS_OBJECT
PROPERTY idles
UNNAMED_VARIABLE 2
ARRAY_INDEX
CONST_FLOAT 1.00000
CALL_METHOD args=2
END_STATEMENT
THIS_OBJECT
PROPERTY model
METHOD setAnimSpeed
THIS_OBJECT
PROPERTY idles
UNNAMED_VARIABLE 2
ARRAY_INDEX
CONST_FLOAT 1.00000
CALL_METHOD args=2
END_STATEMENT
UNNAMED_VARIABLE 1
RETURN
CONST_NULL
RETURN
SET setIdle
END_STATEMENT
THIS_OBJECT
FUNCTION args=2, localvars=3, start_line=1006
JUMP line=1019
THIS_OBJECT
PROPERTY model
METHOD setPosition
THIS_OBJECT
METHOD scale
UNNAMED_VARIABLE 1
CALL_METHOD args=1
CALL_METHOD args=1
END_STATEMENT
UNNAMED_VARIABLE 2
RETURN
CONST_NULL
RETURN
SET setPos
END_STATEMENT
THIS_OBJECT
FUNCTION args=1, localvars=4, start_line=1024
JUMP line=1089
UNNAMED_VARIABLE 2
CONST_INT 0
ASSIGN
END_STATEMENT
UNNAMED_VARIABLE 2
THIS_OBJECT
PROPERTY allAnims
PROPERTY length
TEST_LESS_THAN
JUMP_IF_TRUE line=1039
JUMP line=1085
UNNAMED_VARIABLE 2
PRE_INCREMENT
END_STATEMENT
JUMP line=1028
THIS_OBJECT
PROPERTY allAnims
UNNAMED_VARIABLE 2
ARRAY_INDEX
UNNAMED_VARIABLE 1
TEST_EQUAL
JUMP_IF_FALSE line=1084
THIS_OBJECT
METHOD stopAnims
CALL_METHOD args=0
END_STATEMENT
UNNAMED_VARIABLE 3
THIS_OBJECT
PROPERTY model
METHOD getAnimIndex
UNNAMED_VARIABLE 1
CALL_METHOD args=1
ASSIGN
END_STATEMENT
THIS_OBJECT
PROPERTY model
METHOD setAnimWeight
UNNAMED_VARIABLE 3
CONST_FLOAT 1.00000
CALL_METHOD args=2
END_STATEMENT
THIS_OBJECT
PROPERTY model
METHOD setAnimSpeed
UNNAMED_VARIABLE 3
CONST_FLOAT 1.00000
CALL_METHOD args=2
END_STATEMENT
THIS_OBJECT
PROPERTY model
METHOD setAnimTime
UNNAMED_VARIABLE 3
CONST_INT 0
CALL_METHOD args=2
END_STATEMENT
THIS_OBJECT
PROPERTY allLengths
UNNAMED_VARIABLE 2
ARRAY_INDEX
RETURN
JUMP line=1035
CONST_INT 0
RETURN
CONST_NULL
RETURN
SET playOnce
END_STATEMENT
THIS_OBJECT
FUNCTION args=1, localvars=2, start_line=1094
JUMP line=1116
THIS_OBJECT
PROPERTY direction
CONST_INT 1
TEST_EQUAL
JUMP_IF_FALSE line=1107
NAME screen
PROPERTY right
UNNAMED_VARIABLE 1
PROPERTY mainLine
CONST_INT 0
MAKE_VECTOR items=3
RETURN
JUMP line=1114
NAME screen
PROPERTY left
UNNAMED_VARIABLE 1
PROPERTY mainLine
CONST_INT 0
MAKE_VECTOR items=3
RETURN
CONST_NULL
RETURN
SET startPoint
END_STATEMENT
THIS_OBJECT
FUNCTION args=3, localvars=12, start_line=1121
JUMP line=1206
UNNAMED_VARIABLE 4
THIS_OBJECT
PROPERTY speed
ASSIGN
END_STATEMENT
UNNAMED_VARIABLE 5
NAME Math
METHOD abs
THIS_OBJECT
METHOD startPoint
UNNAMED_VARIABLE 1
CALL_METHOD args=1
慗湲湩㩧 歓灩楰杮爠湡敧〠╸砰砥䔀牲牯›一瑯愠瘠污摩嘠䵓⁘楦敬.畎扭牥漠整瑸攠瑮楲獥映畯摮攠捸敥獤渠浵敢灳捥晩敩湩栠慥敤ⅲ 0x4a
UNNAMED_VARIABLE 2
慗湲湩㩧 歓灩楰杮爠湡敧〠╸砰砥䔀牲牯›一瑯愠瘠污摩嘠䵓⁘楦敬.畎扭牥漠整瑸攠瑮楲獥映畯摮攠捸敥獤渠浵敢灳捥晩敩湩栠慥敤ⅲ 0x4a
SUBTRACT
CALL_METHOD args=1
ASSIGN
END_STATEMENT
UNNAMED_VARIABLE 6
UNNAMED_VARIABLE 5
UNNAMED_VARIABLE 4
DIVIDE
ASSIGN
END_STATEMENT
UNNAMED_VARIABLE 7
UNNAMED_VARIABLE 3
PROPERTY speed
ASSIGN
END_STATEMENT
UNNAMED_VARIABLE 8
NAME Math
METHOD abs
UNNAMED_VARIABLE 3
METHOD startPoint
UNNAMED_VARIABLE 1
CALL_METHOD args=1
慗湲湩㩧 歓灩楰杮爠湡敧〠╸砰砥䔀牲牯›一瑯愠瘠污摩嘠䵓⁘楦敬.畎扭牥漠整瑸攠瑮楲獥映畯摮攠捸敥獤渠浵敢灳捥晩敩湩栠慥敤ⅲ 0x4a
UNNAMED_VARIABLE 2
慗湲湩㩧 歓灩楰杮爠湡敧〠╸砰砥䔀牲牯›一瑯愠瘠污摩嘠䵓⁘楦敬.畎扭牥漠整瑸攠瑮楲獥映畯摮攠捸敥獤渠浵敢灳捥晩敩湩栠慥敤ⅲ 0x4a
SUBTRACT
CALL_METHOD args=1
ASSIGN
END_STATEMENT
UNNAMED_VARIABLE 9
UNNAMED_VARIABLE 8
UNNAMED_VARIABLE 7
DIVIDE
ASSIGN
END_STATEMENT
UNNAMED_VARIABLE 6
UNNAMED_VARIABLE 9
TEST_LESS_THAN
JUMP_IF_FALSE line=1199
UNNAMED_VARIABLE 10
UNNAMED_VARIABLE 8
UNNAMED_VARIABLE 4
MULTIPLY
UNNAMED_VARIABLE 7
DIVIDE
ASSIGN
END_STATEMENT
UNNAMED_VARIABLE 11
UNNAMED_VARIABLE 2
ASSIGN
END_STATEMENT
UNNAMED_VARIABLE 11
UNKNOWN_4b 0x4b
UNNAMED_VARIABLE 10
THIS_OBJECT
PROPERTY direction
MULTIPLY
ADD
UNKNOWN_4c 0x4c
END_STATEMENT
UNNAMED_VARIABLE 11
RETURN
JUMP line=1204
THIS_OBJECT
METHOD startPoint
UNNAMED_VARIABLE 1
CALL_METHOD args=1
RETURN
CONST_NULL
RETURN
SET reachPointTogetherWith
END_STATEMENT
THIS_OBJECT
FUNCTION args=1, localvars=2, start_line=1211
JUMP line=1233
THIS_OBJECT
PROPERTY direction
CONST_INT 1
TEST_EQUAL
JUMP_IF_FALSE line=1224
NAME screen
PROPERTY left
UNNAMED_VARIABLE 1
PROPERTY mainLine
CONST_INT 0
MAKE_VECTOR items=3
RETURN
JUMP line=1231
NAME screen
PROPERTY right
UNNAMED_VARIABLE 1
PROPERTY mainLine
CONST_INT 0
MAKE_VECTOR items=3
RETURN
CONST_NULL
RETURN
SET otherSide
END_STATEMENT
THIS_OBJECT
FUNCTION args=1, localvars=3, start_line=1238
JUMP line=1292
THIS_OBJECT
METHOD stopAnims
CALL_METHOD args=0
END_STATEMENT
THIS_OBJECT
PROPERTY direction
CONST_INT 0
TEST_MORE_THAN
JUMP_IF_FALSE line=1254
THIS_OBJECT
PROPERTY defaultIdx
CONST_INT 3
CONST_INT 1
ARRAY_INDEX_ASSIGN
END_STATEMENT
JUMP line=1260
THIS_OBJECT
PROPERTY defaultIdx
CONST_INT 3
CONST_INT 0
ARRAY_INDEX_ASSIGN
END_STATEMENT
UNNAMED_VARIABLE 2
THIS_OBJECT
PROPERTY defaultIdx
CONST_INT 3
ARRAY_INDEX
ASSIGN
END_STATEMENT
THIS_OBJECT
PROPERTY model
METHOD setAnimWeight
UNNAMED_VARIABLE 2
CONST_FLOAT 1.00000
CALL_METHOD args=2
END_STATEMENT
THIS_OBJECT
PROPERTY model
METHOD setAnimSpeed
UNNAMED_VARIABLE 2
CONST_FLOAT 1.00000
CALL_METHOD args=2
END_STATEMENT
THIS_OBJECT
PROPERTY model
METHOD setAnimTime
UNNAMED_VARIABLE 2
CONST_INT 0
CALL_METHOD args=2
END_STATEMENT
CONST_INT 0
RETURN
CONST_NULL
RETURN
SET attack
END_STATEMENT
THIS_OBJECT
FUNCTION args=1, localvars=3, start_line=1297
JUMP line=1333
THIS_OBJECT
METHOD stopAnims
CALL_METHOD args=0
END_STATEMENT
UNNAMED_VARIABLE 2
THIS_OBJECT
PROPERTY idles
CONST_INT 0
ARRAY_INDEX
ASSIGN
END_STATEMENT
THIS_OBJECT
PROPERTY model
METHOD setAnimWeight
UNNAMED_VARIABLE 2
CONST_FLOAT 1.00000
CALL_METHOD args=2
END_STATEMENT
THIS_OBJECT
PROPERTY model
METHOD setAnimSpeed
UNNAMED_VARIABLE 2
CONST_FLOAT 1.00000
CALL_METHOD args=2
END_STATEMENT
THIS_OBJECT
PROPERTY model
METHOD setAnimTime
UNNAMED_VARIABLE 2
CONST_INT 0
CALL_METHOD args=2
END_STATEMENT
CONST_INT 0
RETURN
CONST_NULL
RETURN
SET victory
END_STATEMENT
THIS_OBJECT
FUNCTION args=2, localvars=4, start_line=1338
JUMP line=1367
UNNAMED_VARIABLE 3
THIS_OBJECT
PROPERTY model
PROPERTY rotation
CONST_FLOAT 0.000000
NAME Math
PROPERTY PI
CONST_FLOAT 0.000000
MAKE_VECTOR items=3
ADD
ASSIGN
END_STATEMENT
THIS_OBJECT
PROPERTY model
METHOD setRotation
UNNAMED_VARIABLE 3
UNNAMED_VARIABLE 2
CALL_METHOD args=2
END_STATEMENT
THIS_OBJECT
THIS_OBJECT
PROPERTY direction
NEGATE
SET direction
END_STATEMENT
UNNAMED_VARIABLE 2
RETURN
CONST_NULL
RETURN
SET turnAround
END_STATEMENT
CONST_NULL
RETURN
NAME anims
END_STATEMENT
NAME lens
END_STATEMENT
NAME bgr
NAME Actor
CONST_STRING "bgr"
CALL_NEW args=1
ASSIGN
END_STATEMENT
NAME sun
NAME Actor
CONST_STRING "sun"
CALL_NEW args=1
ASSIGN
END_STATEMENT
NAME hrz
NAME Actor
CONST_STRING "horizont"
CALL_NEW args=1
ASSIGN
END_STATEMENT
NAME sun
CONST_INT 3
CONST_INT 3
CONST_INT 3
MAKE_VECTOR items=3
SET scale
END_STATEMENT
NAME sun
NAME sun
PROPERTY position
CONST_INT 1
NEGATE
CONST_INT 0
CONST_INT 0
MAKE_VECTOR items=3
ADD
SET position
END_STATEMENT
NAME anims
CONST_ARRAY
CONST_STRING "ride1"
ARRAY_PUSH
CONST_STRING "ride2"
ARRAY_PUSH
ASSIGN
END_STATEMENT
NAME lens
CONST_ARRAY
CONST_FLOAT 13.3333
ARRAY_PUSH
CONST_FLOAT 10.0000
ARRAY_PUSH
ASSIGN
END_STATEMENT
NAME rider
NAME Char
CONST_STRING "rider"
CONST_ARRAY
CONST_STRING "ride1"
ARRAY_PUSH
CONST_STRING "ride2"
ARRAY_PUSH
CONST_ARRAY
CONST_ARRAY
CONST_ARRAY
CONST_ARRAY
CONST_INT 1
NAME anims
NAME lens
CALL_NEW args=9
ASSIGN
END_STATEMENT
NAME anims
CONST_ARRAY
CONST_STRING "shark1"
ARRAY_PUSH
CONST_STRING "shark2"
ARRAY_PUSH
ASSIGN
END_STATEMENT
NAME lens
CONST_ARRAY
CONST_FLOAT 13.3333
ARRAY_PUSH
CONST_FLOAT 8.00000
ARRAY_PUSH
ASSIGN
END_STATEMENT
NAME shark
NAME Char
CONST_STRING "shark"
CONST_ARRAY
CONST_STRING "shark1"
ARRAY_PUSH
CONST_STRING "shark2"
ARRAY_PUSH
CONST_ARRAY
CONST_ARRAY
CONST_ARRAY
CONST_ARRAY
CONST_INT 1
NAME anims
NAME lens
CALL_NEW args=9
ASSIGN
END_STATEMENT
NAME anims
CONST_ARRAY
CONST_STRING "ride3"
ARRAY_PUSH
ASSIGN
END_STATEMENT
NAME lens
CONST_ARRAY
CONST_FLOAT 10.0000
ARRAY_PUSH
ASSIGN
END_STATEMENT
NAME riderB
NAME Char
CONST_STRING "riderB"
CONST_ARRAY
CONST_STRING "ride3"
ARRAY_PUSH
CONST_ARRAY
CONST_ARRAY
CONST_ARRAY
CONST_ARRAY
CONST_INT 1
NAME anims
NAME lens
CALL_NEW args=9
ASSIGN
END_STATEMENT
NAME anims
CONST_ARRAY
CONST_STRING "shark3"
ARRAY_PUSH
ASSIGN
END_STATEMENT
NAME lens
CONST_ARRAY
CONST_FLOAT 8.00000
ARRAY_PUSH
ASSIGN
END_STATEMENT
NAME sharkB
NAME Char
CONST_STRING "sharkB"
CONST_ARRAY
CONST_STRING "shark3"
ARRAY_PUSH
CONST_ARRAY
CONST_ARRAY
CONST_ARRAY
CONST_ARRAY
CONST_INT 1
NAME anims
NAME lens
CALL_NEW args=9
ASSIGN
END_STATEMENT
NAME logo
NAME Actor
CONST_STRING "logo"
CALL_NEW args=1
ASSIGN
END_STATEMENT
NAME logo
CONST_FLOAT 0.680000
CONST_FLOAT 0.680000
CONST_FLOAT 0.680000
MAKE_VECTOR items=3
SET scale
END_STATEMENT
NAME logo
NAME logo
PROPERTY position
CONST_FLOAT 0.500000
NEGATE
CONST_FLOAT 0.0750000
NEGATE
CONST_INT 15
MAKE_VECTOR items=3
ADD
SET position
END_STATEMENT
NAME camera
NAME Camera
CONST_STRING "camera"
CALL_NEW args=1
ASSIGN
END_STATEMENT
NAME scenario1
FUNCTION args=0, localvars=2, start_line=1571
ASSIGN
END_STATEMENT
JUMP line=1679
UNNAMED_VARIABLE 1
NAME Scenario
CONST_STRING "ride1"
CALL_NEW args=1
ASSIGN
END_STATEMENT
UNNAMED_VARIABLE 1
METHOD add
NAME shark
NAME p
FUNCTION args=2, localvars=3, start_line=1583
JUMP line=1600
UNNAMED_VARIABLE 1
PROPERTY model
CONST_INT 0
CONST_INT 0
CONST_INT 0
MAKE_VECTOR items=3
SET position
END_STATEMENT
UNNAMED_VARIABLE 1
METHOD playOnce
CONST_STRING "shark1"
CALL_METHOD args=1
END_STATEMENT
CONST_INT 0
RETURN
CONST_NULL
RETURN
CALL_METHOD args=3
END_STATEMENT
UNNAMED_VARIABLE 1
METHOD add
NAME rider
NAME p
FUNCTION args=2, localvars=3, start_line=1608
JUMP line=1625
UNNAMED_VARIABLE 1
PROPERTY model
CONST_INT 0
CONST_INT 0
CONST_INT 0
MAKE_VECTOR items=3
SET position
END_STATEMENT
UNNAMED_VARIABLE 1
METHOD playOnce
CONST_STRING "ride1"
CALL_METHOD args=1
CONST_FLOAT 0.100000
SUBTRACT
RETURN
CONST_NULL
RETURN
CALL_METHOD args=3
END_STATEMENT
UNNAMED_VARIABLE 1
METHOD add
NAME rider
NAME p
FUNCTION args=2, localvars=3, start_line=1633
JUMP line=1649
UNNAMED_VARIABLE 1
PROPERTY model
CONST_INT 100
CONST_INT 0
CONST_INT 0
MAKE_VECTOR items=3
SET position
END_STATEMENT
UNNAMED_VARIABLE 1
METHOD stopAnims
CALL_METHOD args=0
END_STATEMENT
CONST_INT 0
RETURN
CONST_NULL
RETURN
CALL_METHOD args=3
END_STATEMENT
UNNAMED_VARIABLE 1
METHOD add
NAME shark
NAME p
FUNCTION args=2, localvars=3, start_line=1657
JUMP line=1673
UNNAMED_VARIABLE 1
PROPERTY model
CONST_INT 100
CONST_INT 0
CONST_INT 0
MAKE_VECTOR items=3
SET position
END_STATEMENT
UNNAMED_VARIABLE 1
METHOD stopAnims
CALL_METHOD args=0
END_STATEMENT
CONST_INT 2
RETURN
CONST_NULL
RETURN
CALL_METHOD args=3
END_STATEMENT
UNNAMED_VARIABLE 1
RETURN
CONST_NULL
RETURN
NAME scenario2
FUNCTION args=0, localvars=2, start_line=1684
ASSIGN
END_STATEMENT
JUMP line=1741
UNNAMED_VARIABLE 1
NAME Scenario
CONST_STRING "ride2"
CALL_NEW args=1
ASSIGN
END_STATEMENT
UNNAMED_VARIABLE 1
METHOD add
NAME shark
NAME p
FUNCTION args=2, localvars=3, start_line=1696
JUMP line=1711
UNNAMED_VARIABLE 1
PROPERTY model
CONST_INT 0
CONST_INT 0
CONST_INT 0
MAKE_VECTOR items=3
SET position
END_STATEMENT
UNNAMED_VARIABLE 1
METHOD playOnce
CONST_STRING "shark2"
CALL_METHOD args=1
RETURN
CONST_NULL
RETURN
CALL_METHOD args=3
END_STATEMENT
UNNAMED_VARIABLE 1
METHOD add
NAME shark
NAME p
FUNCTION args=2, localvars=3, start_line=1719
JUMP line=1735
UNNAMED_VARIABLE 1
PROPERTY model
CONST_INT 100
CONST_INT 0
CONST_INT 0
MAKE_VECTOR items=3
SET position
END_STATEMENT
UNNAMED_VARIABLE 1
METHOD stopAnims
CALL_METHOD args=0
END_STATEMENT
CONST_INT 2
RETURN
CONST_NULL
RETURN
CALL_METHOD args=3
END_STATEMENT
UNNAMED_VARIABLE 1
RETURN
CONST_NULL
RETURN
NAME scenario3
FUNCTION args=0, localvars=2, start_line=1746
ASSIGN
END_STATEMENT
JUMP line=1803
UNNAMED_VARIABLE 1
NAME Scenario
CONST_STRING "ride2"
CALL_NEW args=1
ASSIGN
END_STATEMENT
UNNAMED_VARIABLE 1
METHOD add
NAME rider
NAME p
FUNCTION args=2, localvars=3, start_line=1758
JUMP line=1773
UNNAMED_VARIABLE 1
PROPERTY model
CONST_INT 0
CONST_INT 0
CONST_INT 0
MAKE_VECTOR items=3
SET position
END_STATEMENT
UNNAMED_VARIABLE 1
METHOD playOnce
CONST_STRING "ride2"
CALL_METHOD args=1
RETURN
CONST_NULL
RETURN
CALL_METHOD args=3
END_STATEMENT
UNNAMED_VARIABLE 1
METHOD add
NAME rider
NAME p
FUNCTION args=2, localvars=3, start_line=1781
JUMP line=1797
UNNAMED_VARIABLE 1
PROPERTY model
CONST_INT 100
CONST_INT 0
CONST_INT 0
MAKE_VECTOR items=3
SET position
END_STATEMENT
UNNAMED_VARIABLE 1
METHOD stopAnims
CALL_METHOD args=0
END_STATEMENT
CONST_INT 2
RETURN
CONST_NULL
RETURN
CALL_METHOD args=3
END_STATEMENT
UNNAMED_VARIABLE 1
RETURN
CONST_NULL
RETURN
NAME scenario4
FUNCTION args=0, localvars=2, start_line=1808
ASSIGN
END_STATEMENT
JUMP line=1916
UNNAMED_VARIABLE 1
NAME Scenario
CONST_STRING "ride3"
CALL_NEW args=1
ASSIGN
END_STATEMENT
UNNAMED_VARIABLE 1
METHOD add
NAME sharkB
NAME p
FUNCTION args=2, localvars=3, start_line=1820
JUMP line=1837
UNNAMED_VARIABLE 1
PROPERTY model
CONST_INT 0
CONST_INT 0
CONST_INT 0
MAKE_VECTOR items=3
SET position
END_STATEMENT
UNNAMED_VARIABLE 1
METHOD playOnce
CONST_STRING "shark3"
CALL_METHOD args=1
END_STATEMENT
CONST_INT 0
RETURN
CONST_NULL
RETURN
CALL_METHOD args=3
END_STATEMENT
UNNAMED_VARIABLE 1
METHOD add
NAME riderB
NAME p
FUNCTION args=2, localvars=3, start_line=1845
JUMP line=1862
UNNAMED_VARIABLE 1
PROPERTY model
CONST_INT 0
CONST_INT 0
CONST_INT 0
MAKE_VECTOR items=3
SET position
END_STATEMENT
UNNAMED_VARIABLE 1
METHOD playOnce
CONST_STRING "ride3"
CALL_METHOD args=1
CONST_FLOAT 2.50000
SUBTRACT
RETURN
CONST_NULL
RETURN
CALL_METHOD args=3
END_STATEMENT
UNNAMED_VARIABLE 1
METHOD add
NAME sharkB
NAME p
FUNCTION args=2, localvars=3, start_line=1870
JUMP line=1886
UNNAMED_VARIABLE 1
PROPERTY model
CONST_INT 100
CONST_INT 0
CONST_INT 0
MAKE_VECTOR items=3
SET position
END_STATEMENT
UNNAMED_VARIABLE 1
METHOD stopAnims
CALL_METHOD args=0
END_STATEMENT
CONST_FLOAT 2.50000
RETURN
CONST_NULL
RETURN
CALL_METHOD args=3
END_STATEMENT
UNNAMED_VARIABLE 1
METHOD add
NAME riderB
NAME p
FUNCTION args=2, localvars=3, start_line=1894
JUMP line=1910
UNNAMED_VARIABLE 1
PROPERTY model
CONST_INT 100
CONST_INT 0
CONST_INT 0
MAKE_VECTOR items=3
SET position
END_STATEMENT
UNNAMED_VARIABLE 1
METHOD stopAnims
CALL_METHOD args=0
END_STATEMENT
CONST_INT 2
RETURN
CONST_NULL
RETURN
CALL_METHOD args=3
END_STATEMENT
UNNAMED_VARIABLE 1
RETURN
CONST_NULL
RETURN
NAME scenario5
FUNCTION args=0, localvars=2, start_line=1921
ASSIGN
END_STATEMENT
JUMP line=1978
UNNAMED_VARIABLE 1
NAME Scenario
CONST_STRING "ride3"
CALL_NEW args=1
ASSIGN
END_STATEMENT
UNNAMED_VARIABLE 1
METHOD add
NAME sharkB
NAME p
FUNCTION args=2, localvars=3, start_line=1933
JUMP line=1948
UNNAMED_VARIABLE 1
PROPERTY model
CONST_INT 0
CONST_INT 0
CONST_INT 0
MAKE_VECTOR items=3
SET position
END_STATEMENT
UNNAMED_VARIABLE 1
METHOD playOnce
CONST_STRING "shark3"
CALL_METHOD args=1
RETURN
CONST_NULL
RETURN
CALL_METHOD args=3
END_STATEMENT
UNNAMED_VARIABLE 1
METHOD add
NAME sharkB
NAME p
FUNCTION args=2, localvars=3, start_line=1956
JUMP line=1972
UNNAMED_VARIABLE 1
PROPERTY model
CONST_INT 100
CONST_INT 0
CONST_INT 0
MAKE_VECTOR items=3
SET position
END_STATEMENT
UNNAMED_VARIABLE 1
METHOD stopAnims
CALL_METHOD args=0
END_STATEMENT
CONST_INT 2
RETURN
CONST_NULL
RETURN
CALL_METHOD args=3
END_STATEMENT
UNNAMED_VARIABLE 1
RETURN
CONST_NULL
RETURN
NAME scenario6
FUNCTION args=0, localvars=2, start_line=1983
ASSIGN
END_STATEMENT
JUMP line=2042
UNNAMED_VARIABLE 1
NAME Scenario
CONST_STRING "ride3"
CALL_NEW args=1
ASSIGN
END_STATEMENT
UNNAMED_VARIABLE 1
METHOD add
NAME riderB
NAME p
FUNCTION args=2, localvars=3, start_line=1995
JUMP line=2012
UNNAMED_VARIABLE 1
PROPERTY model
CONST_INT 0
CONST_INT 0
CONST_INT 0
MAKE_VECTOR items=3
SET position
END_STATEMENT
UNNAMED_VARIABLE 1
METHOD playOnce
CONST_STRING "ride3"
CALL_METHOD args=1
CONST_FLOAT 0.100000
SUBTRACT
RETURN
CONST_NULL
RETURN
CALL_METHOD args=3
END_STATEMENT
UNNAMED_VARIABLE 1
METHOD add
NAME riderB
NAME p
FUNCTION args=2, localvars=3, start_line=2020
JUMP line=2036
UNNAMED_VARIABLE 1
PROPERTY model
CONST_INT 100
CONST_INT 0
CONST_INT 0
MAKE_VECTOR items=3
SET position
END_STATEMENT
UNNAMED_VARIABLE 1
METHOD stopAnims
CALL_METHOD args=0
END_STATEMENT
CONST_INT 2
RETURN
CONST_NULL
RETURN
CALL_METHOD args=3
END_STATEMENT
UNNAMED_VARIABLE 1
RETURN
CONST_NULL
RETURN
NAME checkScenario
FUNCTION args=0, localvars=4, start_line=2047
ASSIGN
END_STATEMENT
JUMP line=2095
NAME activeScenarios
CONST_INT 0
TEST_MORE_THAN
JUMP_IF_FALSE line=2053
CONST_NULL
RETURN
UNNAMED_VARIABLE 1
CONST_ARRAY
NAME scenario1
ARRAY_PUSH
NAME scenario2
ARRAY_PUSH
NAME scenario3
ARRAY_PUSH
NAME scenario4
ARRAY_PUSH
NAME scenario5
ARRAY_PUSH
NAME scenario6
ARRAY_PUSH
CONST_NULL
ARRAY_PUSH
ASSIGN
END_STATEMENT
UNNAMED_VARIABLE 2
NAME Math
METHOD floor
NAME Math
METHOD random
CALL_METHOD args=0
CONST_INT 6
MULTIPLY
CALL_METHOD args=1
ASSIGN
END_STATEMENT
UNNAMED_VARIABLE 3
UNNAMED_VARIABLE 1
UNNAMED_VARIABLE 2
UNKNOWN_35 0x35
CALL_METHOD args=0
ASSIGN
END_STATEMENT
UNNAMED_VARIABLE 3
METHOD begin
CALL_METHOD args=0
END_STATEMENT
CONST_NULL
RETURN
NAME System
PROPERTY timer
CONST_INT 0
NAME IntervalTimer
CONST_FLOAT 1.00000
NAME checkScenario
CALL_NEW args=2
ARRAY_INDEX_ASSIGN
END_STATEMENT
END_SCRIPT
boticario escribió:pues lo que yo haria es y sabiendo que vas a utilizar Dimayc Theme Editor es :
Te metes en el directorio del mIsmo pograma y abres con un editor hexadecimal anim_1 que se encuentra en:
Dimamyc Theme Editor/ Original anim_1 /Prince of Persia/ anim_1
Ahora en "Posicion" ejecutas "gestor de posiciones" y mediante boton derecho, carga el archivo de posicion que te adjunto.
Es en ese bloque donde deberas escribir tu archivo vsmx editado; Guarda.
Ahora podras compilar lo demas con Dynamic Theme Editor.
Espero que te funcione.
Para mi y puedo equivocarme el rcomage esta haciendo bien su trabajo pues entiendo que me lo debe de estar codificando correctamente pues sino fuera asi el .p3t final estaria corrupto entiendo.
Puede ser tambien que al incertar la parte en en hex-editor lo este incertando mal la parte editada.
boticario escribió:me alegro que se vaya solucionando, y ya mostraras un video de lo editado xd