Display enemy trainer briefly when switching
This commit is contained in:
1 parent
aa13562433
commit
4e93f1e52c
20 files changed
+100
-68
No files matched your search
@@ -49,7 +49,7 @@ export default class PokeballTray extends Phaser.GameObjects.Container {
|
||||
if (b >= party.length)
|
||||
ballFrame = 'empty';
|
||||
else if (!party[b].hp)
|
||||
ballFrame = 'fainted';
|
||||
ballFrame = 'faint';
|
||||
else if (party[b].status)
|
||||
ballFrame = 'status';
|
||||
ball.setFrame(ballFrame);
|
||||
|
||||
Reference in new issue
Block a user