comparison src/th06/ecl_vm.rs @ 699:2a60f12bd5bd

ecl_vm: stub SetBossMode.
author Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
date Fri, 23 Aug 2019 02:40:27 +0200
parents 05e0425a8bc5
children b6c351ca0a35
comparison
equal deleted inserted replaced
698:05e0425a8bc5 699:2a60f12bd5bd
825 // To reverse! 825 // To reverse!
826 let mut enemy = self.enemy.borrow_mut(); 826 let mut enemy = self.enemy.borrow_mut();
827 enemy.death_anim = index; 827 enemy.death_anim = index;
828 } 828 }
829 // 101 829 // 101
830 /*
831 SubInstruction::SetBossMode(value) => { 830 SubInstruction::SetBossMode(value) => {
832 let mut enemy = self.enemy.borrow_mut(); 831 let mut enemy = self.enemy.borrow_mut();
833 if value < 0 { 832 if value < 0 {
834 enemy.set_boss(false); 833 enemy.set_boss(false);
835 } 834 }
837 // the boss pointer is written somewhere in memory and overwrote by a 0 when 836 // the boss pointer is written somewhere in memory and overwrote by a 0 when
838 // the boss mode is false, might want to look into that 837 // the boss mode is false, might want to look into that
839 enemy.set_boss(true); 838 enemy.set_boss(true);
840 } 839 }
841 } 840 }
842 */
843 841
844 // 102 842 // 102
845 // TODO: title says it all 843 // TODO: title says it all
846 /* 844 /*
847 SubInstruction::ParticlesVoodooMagic(unk1, unk2, unk3, unk4, unk5) => { 845 SubInstruction::ParticlesVoodooMagic(unk1, unk2, unk3, unk4, unk5) => {