pokemon/control.hpp
Zack Buhman e4ff1b4c5a generate/text: added
Of the "trivial" texts that the current parser can handle, these are
now being inserted in obj_events.
2023-07-30 08:52:46 +00:00

50 lines
1.4 KiB
C++

#pragma once
#include <stdint.h>
struct control_t {
static constexpr uint8_t text = 0x80;
static constexpr uint8_t next = 0x81;
static constexpr uint8_t line = 0x82;
static constexpr uint8_t para = 0x83;
static constexpr uint8_t cont = 0x84;
static constexpr uint8_t done = 0x85;
static constexpr uint8_t prompt = 0x86;
static constexpr uint8_t page = 0x87;
};
struct ligatures_t {
static constexpr uint8_t tm = 0x90;
static constexpr uint8_t pc = 0x91;
static constexpr uint8_t trainer = 0x92;
static constexpr uint8_t rocket = 0x93;
static constexpr uint8_t poke = 0x94;
static constexpr uint8_t double_ellipsis = 0x95;
static constexpr uint8_t pkmn = 0x96;
};
struct extended_t {
static constexpr uint8_t jpy = 0xa5; // ¥
static constexpr uint8_t colon_sm = 0xa6; // (small ':' symbol)
static constexpr uint8_t e = 0xe9; // é
static constexpr uint8_t ellipsis = 0xa8; // …
static constexpr uint8_t pk = 0xb2; // ᴾₖ
static constexpr uint8_t mn = 0xb3; // ᴹₙ
static constexpr uint8_t times = 0xd7; // ×
};
/*
PCCharText:: db "PC@"
TMCharText:: db "TM@"
TrainerCharText:: db "TRAINER@"
RocketCharText:: db "ROCKET@"
PlacePOKeText:: db "POKé@"
SixDotsCharText:: db "……@"
PlacePKMNText:: db "<PK><MN>@"
dict "<PLAYER>", PrintPlayerName
dict "<RIVAL>", PrintRivalName
dict "<TARGET>", PlaceMoveTargetsName
dict "<USER>", PlaceMoveUsersName
*/