Mercurial > touhou
comparison src/th06/ecl_vm.rs @ 673:81ad01910f4b
ecl_vm: instr 100 fix.
author | Gauvain "GovanifY" Roussel-Tarbouriech <gauvain@govanify.com> |
---|---|
date | Mon, 12 Aug 2019 20:32:08 +0200 |
parents | d20cf9ede914 |
children | 3e4cc64a254d |
comparison
equal
deleted
inserted
replaced
672:d20cf9ede914 | 673:81ad01910f4b |
---|---|
542 }; | 542 }; |
543 } | 543 } |
544 | 544 |
545 // 100 | 545 // 100 |
546 SubInstruction::SetDeathAnim(index) => { | 546 SubInstruction::SetDeathAnim(index) => { |
547 // TODO: takes 3 parameters in game, first one is death anim and 2 others are | 547 // TODO: takes 3 parameters in game as u8 unlike our single u32. |
548 // unknown. To reverse! | 548 // To reverse! |
549 let mut enemy = self.enemy.borrow_mut(); | 549 let mut enemy = self.enemy.borrow_mut(); |
550 enemy.death_anim = index; | 550 enemy.death_anim = index; |
551 } | 551 } |
552 | 552 |
553 // 103 | 553 // 103 |