Skeetendo

’Cause all games were better on the GBC

You are not logged in.

  • Index
  • → Help/Question
  • → [pokecrystal] Why do ellipses print out too high in battle?

#1 2016-08-06 02:41:22

Rangi
Member
Registered: 2016-05-09
Post 67/579

[pokecrystal] Why do ellipses print out too high in battle?

This is a problem with vanilla GSC, and I'm trying to fix it in pokecrystal. The "…" character looks okay in regular text boxes:

7CNYONE.png

But it's drawn too high up during battles:

2LAAOky.png

I thought this might be because a different graphics file is used in battles, but the ellipses in gfx/font/* and gfx/misc/font* are all drawn at the same height in their 8x8 box.

Regular text is drawn by MapTextbox, and in-battle text by BattleTextBox. But they both rely on SpeechTextBox to draw the border and PrintTextBoxText to draw the characters. It might have to do with Text_TX_DOTS' special handling of ellipses to delay after printing them, but (a) I don't see why the delay code would shift the graphics and (b) it shouldn't only apply during battle.


ROM hack: Pokémon Polished Crystal — version 2.2.0 released!

Offline

#2 2016-08-06 05:09:08

comet
Member
Registered: 2012-04-09
Post 655/672

Re: [pokecrystal] Why do ellipses print out too high in battle?

The offending graphic is in gfx/battle/hp_exp_bar_border.1bpp.

Last edited by comet (2016-08-06 05:09:29)

Offline

#3 2016-08-06 10:04:56

Rangi
Member
Registered: 2016-05-09
Post 70/579

Re: [pokecrystal] Why do ellipses print out too high in battle?

You're right, thanks!

Eo0tif8.png


ROM hack: Pokémon Polished Crystal — version 2.2.0 released!

Offline

  • Index
  • → Help/Question
  • → [pokecrystal] Why do ellipses print out too high in battle?

Board footer

Powered by FluxBB