pokemon/control.hpp
Zack Buhman 4909a1f089 types: add type name strings
This also parses, generates, and displays nidoran male/female name
strings correctly.
2023-08-04 05:26:23 +00:00

52 lines
1.6 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 male = 0xa2; //
static constexpr uint8_t female = 0xa3; //
static constexpr uint8_t jpy = 0xa5; // ¥
static constexpr uint8_t colon_sm = 0xa6; // (small ':' symbol)
static constexpr uint8_t ellipsis = 0xa8; // …
static constexpr uint8_t e = 0xe9; // é
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
*/