Name the Battle Tower's ZABOROWSKI instead of refusing the battle #89

Closed
opened 2026-10-17 16:06:29 +02:00 by kawa · 0 comments
Owner

BattleTowerTrainers' names are ten bytes padded with "@" only when
shorter, and the cartridge copies the ten bytes to wOTPlayerName before
adding the terminator. The port read the name as an "@"-terminated
string, so drawing ZABOROWSKI (trainer 5) threw "Unterminated string."
and the challenge was refused.

Commit: acdaf62

BattleTowerTrainers' names are ten bytes padded with "@" only when shorter, and the cartridge copies the ten bytes to wOTPlayerName before adding the terminator. The port read the name as an "@"-terminated string, so drawing ZABOROWSKI (trainer 5) threw "Unterminated string." and the challenge was refused. Commit: acdaf62
kawa added this to the Pokemon Crystal - Web project 2026-10-17 16:06:29 +02:00
kawa moved this to Fait in Pokemon Crystal - Web on 2026-10-17 16:06:29 +02:00
kawa closed this issue 2026-10-17 16:06:29 +02:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: kawa/Crystal#89