Killable thieves flag

This commit is contained in:
aerinon
2022-10-25 09:15:15 -06:00
parent 8e20d6280c
commit 44a648e3be
3 changed files with 6 additions and 4 deletions

View File

@@ -37,10 +37,10 @@ RTL
}
notItemSprite_Mimic:
{ ; don't change this unless you go update SetKillableThief in c# side since it assumes +4 bytes to update the value on the CMP from B8 to C4
{
; if we set killable thief we want to update the sprite id so it can be killed
LDA $0E20, X
CMP.b #$B8 : BEQ .changeSpriteId ; thief #$C4
CMP.l [!KILLABLE_THIEVES_ID] : BEQ .changeSpriteId ; thief #$C4 (default is B8/dialog tester)
; if we don't have mimic code turned on we want to skip, but we also need to reload the sprite id because we just smoked it with this LDA
LDA !ENABLE_MIMIC_OVERRIDE : BEQ .reloadSpriteIdAndSkipMimic ; skip to what it would have done normally