parent
3650b8051e
commit
b46222a6fb
@ -1,36 +1,45 @@
|
|||||||
/// draw_character_ext(sprite, x, y, sprite2, s2ox, s2oy, sprite3, s3ox, s3oy, s3angle, facing, color, alpha, s3show, arrID)
|
/// draw_character_ext(sprite, x, y, sprite2, s2ox, s2oy, sprite3, s3ox, s3oy, s3angle, facing, color, alpha, s3show, arrID)
|
||||||
var ID = argument15;
|
var ID = argument15;
|
||||||
if ((oControl.mod_fusion) && (!oControl.msr_fusionsuit)) { // Fusion suit
|
if(global.shaders_compiled){
|
||||||
if (global.currentsuit == 0) { // Power
|
if ((oControl.mod_fusion) && (!oControl.msr_fusionsuit)) { // Fusion suit
|
||||||
pal_swap_set(sPalFusion0, 1, false);
|
if (global.currentsuit == 0) { // Power
|
||||||
} else if (global.currentsuit == 1) { // Varia
|
pal_swap_set(sPalFusion0, 1, false);
|
||||||
pal_swap_set(sPalFusion1, 1, false);
|
} else if (global.currentsuit == 1) { // Varia
|
||||||
} else if (global.currentsuit == 2) { // Gravity
|
pal_swap_set(sPalFusion1, 1, false);
|
||||||
pal_swap_set(sPalFusion2, 1, false);
|
} else if (global.currentsuit == 2) { // Gravity
|
||||||
}
|
pal_swap_set(sPalFusion2, 1, false);
|
||||||
} else { // Custom color swaps
|
}
|
||||||
if (global.currentsuit == 0) { // Power
|
} else { // Custom color swaps
|
||||||
pal_swap_set(oControl.PowerPalette, 1, false);
|
if (global.currentsuit == 0) { // Power
|
||||||
} else if (global.currentsuit == 1) { // Varia
|
pal_swap_set(oControl.PowerPalette, 1, false);
|
||||||
pal_swap_set(oControl.VariaPalette, 1, false);
|
} else if (global.currentsuit == 1) { // Varia
|
||||||
} else if (global.currentsuit == 2) { // Gravity
|
pal_swap_set(oControl.VariaPalette, 1, false);
|
||||||
pal_swap_set(oControl.GravityPalette, 1, false);
|
} else if (global.currentsuit == 2) { // Gravity
|
||||||
|
pal_swap_set(oControl.GravityPalette, 1, false);
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
if(oControl.mod_fusion){
|
if(global.shaders_compiled){
|
||||||
pal_swap_set(sPalMultitroidFusion, ID, false);
|
if(oControl.mod_fusion){
|
||||||
} else {
|
pal_swap_set(sPalMultitroidFusion, ID, false);
|
||||||
pal_swap_set(sPalMultitroidNew, ID, false);
|
} else {
|
||||||
|
pal_swap_set(sPalMultitroidNew, ID, false);
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
draw_sprite_ext(argument0, argument14, argument1, argument2, argument10, 1, 0, argument11, argument12);
|
draw_sprite_ext(argument0, argument14, argument1, argument2, argument10, 1, 0, argument11, argument12);
|
||||||
draw_sprite_ext(argument3, argument14, argument1 + argument4, argument2 + argument5, argument10, 1, 0, argument11, argument12);
|
draw_sprite_ext(argument3, argument14, argument1 + argument4, argument2 + argument5, argument10, 1, 0, argument11, argument12);
|
||||||
pal_swap_set(sPalMultitroidNew, ID, false);
|
if(global.shaders_compiled){
|
||||||
|
pal_swap_set(sPalMultitroidNew, ID, false);
|
||||||
|
}
|
||||||
if (argument13 == 1) {
|
if (argument13 == 1) {
|
||||||
draw_sprite_ext(argument6, argument14, argument1 + argument7, argument2 + argument8, argument10, 1, argument9, argument11, argument12);
|
draw_sprite_ext(argument6, argument14, argument1 + argument7, argument2 + argument8, argument10, 1, argument9, argument11, argument12);
|
||||||
}
|
}
|
||||||
shader_reset();
|
shader_reset();
|
||||||
pal_swap_reset();
|
|
||||||
|
if(global.shaders_compiled){
|
||||||
|
pal_swap_reset();
|
||||||
|
}
|
||||||
|
|||||||
Loading…
Reference in new issue