<p></p>
<p>If an enemy with the Unescapeable bit jumps off-screen, then you can run from battle.</p>
<p>Is this a bug, or a feature? Should we add a backcompat bit or a battle system pref bit to toggle it?</p>
<p>It happens because:</p>
<pre><code>FUNCTION checkNoRunBit (bslot() as BattleSprite) as bool
 FOR i as integer = 4 TO 11
  IF bslot(i).stat.cur.hp > 0 AND bslot(i).vis = YES AND bslot(i).unescapable = YES THEN RETURN YES
 NEXT i
 RETURN NO
END FUNCTION
</code></pre>
<p><code>BattleSprite.vis</code> is false while an combatant has jumped offscreen.<br>
<code>vis</code> is used for many different purposes in many different places. I know it's short for "visible", but I spent an hour trying to figure out what it <em>actually</em> means. There are a set of exceptions (which I've now documented), and I consider any code that makes use of <code>vis</code> as suspect.</p>

<p style="font-size:small;-webkit-text-size-adjust:none;color:#666;">—<br />You are receiving this because you are subscribed to this thread.<br />Reply to this email directly, <a href="https://github.com/ohrrpgce/ohrrpgce/issues/1107">view it on GitHub</a>, or <a href="https://github.com/notifications/unsubscribe-auth/AMWGWZRKZICS7UX2RWRK6B3RIKXQXANCNFSM4LPZ2ZWQ">unsubscribe</a>.<img src="https://github.com/notifications/beacon/AMWGWZXNLZCSDKMLHGHIM6DRIKXQXA5CNFSM4LPZ2ZW2YY3PNVWWK3TUL52HS4DFUVEXG43VMWVGG33NNVSW45C7NFSM4IW23VLA.gif" height="1" width="1" alt="" /></p>
<script type="application/ld+json">[
{
"@context": "http://schema.org",
"@type": "EmailMessage",
"potentialAction": {
"@type": "ViewAction",
"target": "https://github.com/ohrrpgce/ohrrpgce/issues/1107",
"url": "https://github.com/ohrrpgce/ohrrpgce/issues/1107",
"name": "View Issue"
},
"description": "View this Issue on GitHub",
"publisher": {
"@type": "Organization",
"name": "GitHub",
"url": "https://github.com"
}
}
]</script>