Player name gets filled in instead of saying 'Player'

Co-authored-by: sigonasr2 <sigonasr2@gmail.com>
This commit is contained in:
sigonasr2 2022-09-04 18:30:23 -05:00
parent 3cbca620ee
commit a3da3b1d55
5 changed files with 1 additions and 1 deletions

View File

@ -3663,7 +3663,7 @@ public:
}break; }break;
case battle::WAIT_TURN_ANIMATION:{ case battle::WAIT_TURN_ANIMATION:{
if (BATTLE_CURRENT_TURN_ENTITY==-1) { if (BATTLE_CURRENT_TURN_ENTITY==-1) {
DrawWrappedText({4,4},"Player uses "+BATTLE_CARD_SELECTION->name,WIDTH-8,WHITE,{2,2}); DrawWrappedText({4,4},PLAYER_NAME+" uses "+BATTLE_CARD_SELECTION->name,WIDTH-8,WHITE,{2,2});
} else { } else {
DrawWrappedText({4,4},CURRENT_ENCOUNTER.entities[BATTLE_CURRENT_TURN_ENTITY]->name+" "+(char)('A'+BATTLE_CURRENT_TURN_ENTITY)+" uses "+CURRENT_ENCOUNTER.entities[BATTLE_CURRENT_TURN_ENTITY]->selectedMove->name,WIDTH-8,WHITE,{2,2}); DrawWrappedText({4,4},CURRENT_ENCOUNTER.entities[BATTLE_CURRENT_TURN_ENTITY]->name+" "+(char)('A'+BATTLE_CURRENT_TURN_ENTITY)+" uses "+CURRENT_ENCOUNTER.entities[BATTLE_CURRENT_TURN_ENTITY]->selectedMove->name,WIDTH-8,WHITE,{2,2});
} }

Binary file not shown.

Binary file not shown.

Binary file not shown.

BIN
src.zip

Binary file not shown.