comparison src/th06/ecl_vm.rs @ 735:b9928db975e1

ecl: Enable instruction 99.
author Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
date Sat, 28 Dec 2019 19:20:20 +0100
parents 7886a1a5d226
children ff9651cfe1b0
comparison
equal deleted inserted replaced
734:7886a1a5d226 735:b9928db975e1
813 } else { 813 } else {
814 enemy.set_anim(default as u8); 814 enemy.set_anim(default as u8);
815 Some((end_left as u8, end_right as u8, left as u8, right as u8)) 815 Some((end_left as u8, end_right as u8, left as u8, right as u8))
816 }; 816 };
817 } 817 }
818 /*
819 // 99 818 // 99
820 SubInstruction::SetAuxAnims(number, script) => { 819 SubInstruction::SetAuxAnm(number, script) => {
821 assert!(7 < number); 820 assert!(number < 8);
822 let mut enemy = self.enemy.borrow_mut(); 821 let mut enemy = self.enemy.borrow_mut();
823 enemy.set_aux_anm(number, script) 822 enemy.set_aux_anm(number, script);
824 } 823 }
825 */
826 824
827 // 100 825 // 100
828 SubInstruction::SetDeathAnim(index) => { 826 SubInstruction::SetDeathAnim(index) => {
829 // TODO: takes 3 parameters in game as u8 unlike our single u32. 827 // TODO: takes 3 parameters in game as u8 unlike our single u32.
830 // To reverse! 828 // To reverse!