So I was tweaking around with changing the sprite and energy of some enemies in Castle1 using jjObjectPresets but the script doesn't work. I don't know what the problem is but hope you guys will be able to find a possible solution.
Code:
void onLevelLoad() {
jjObjectPresets[OBJECT::NORMTURTLE].determineCurAnim(ANIM::LORI, 13);
jjObjectPresets[OBJECT::BAT].determineCurAnim(ANIM::JAZZ, 14);
jjObjectPresets[OBJECT::DRAGON].determineCurAnim(ANIM::SPAZ, 5);
}
|