Alchemy
Loading...
Searching...
No Matches

tolbi_interiors.h File Reference

Go to the source code of this file.

Data Structures

struct  TolbiInteriorsSpriteAttr
 The byte of a sprite's attributes that holds its priority, as the code stores it. More...

Macros

#define FACING_NEAREST_CARDINAL(facing)
 A facing rounded to the nearest of east, south, west and north.

Enumerations

enum  TolbiInteriorsActor {
  TOLBI_INTERIORS_HOST = 9 , TOLBI_INTERIORS_WEAPON_SHOPKEEPER = 19 , TOLBI_INTERIORS_ARMOR_SHOPKEEPER = 20 , TOLBI_INTERIORS_ITEM_SHOPKEEPER = 21 ,
  TOLBI_INTERIORS_MEDAL_WOMAN = 25 , TOLBI_INTERIORS_CHEF = 26 , TOLBI_INTERIORS_WAITER = 27 , TOLBI_INTERIORS_PRIEST = 30 ,
  TOLBI_INTERIORS_ANGRY_SAILOR = 31 , TOLBI_INTERIORS_SAILOR_B = 32 , TOLBI_INTERIORS_SAILOR_C = 33 , TOLBI_INTERIORS_WOULD_BE_WARRIOR = 35
}
 Actors, numbered in the order of the placement table from 8. More...
enum  TolbiInteriorsMapObject {
  TOLBI_INTERIORS_INN_SIGN = 40 , TOLBI_INTERIORS_VIAL_BARREL = 100 , TOLBI_INTERIORS_MEDAL_BARREL = 101 , TOLBI_INTERIORS_HIDDEN_MEDAL_BARREL = 102 ,
  TOLBI_INTERIORS_PIZZA_OVEN = 200 , TOLBI_INTERIORS_PASTA_OVEN = 201 , TOLBI_INTERIORS_SEAFOOD_PASTA_OVEN = 202
}
 Map objects the party can search. More...

Macro Definition Documentation

◆ FACING_NEAREST_CARDINAL

#define FACING_NEAREST_CARDINAL ( facing)
Value:
((u16)(((facing) + 0x2000) & ~0x3fff))
unsigned short u16
Definition types.h:13

A facing rounded to the nearest of east, south, west and north.

Definition at line 38 of file tolbi_interiors.h.

Referenced by TolbiInteriors_TalkToArmorShopkeeper(), TolbiInteriors_TalkToItemShopkeeper(), TolbiInteriors_TalkToPriest(), and TolbiInteriors_TalkToWeaponShopkeeper().

Enumeration Type Documentation

◆ TolbiInteriorsActor

Actors, numbered in the order of the placement table from 8.

Enumerator
TOLBI_INTERIORS_HOST 

offers a stay. "Do you want to stay with us?"

TOLBI_INTERIORS_WEAPON_SHOPKEEPER 
TOLBI_INTERIORS_ARMOR_SHOPKEEPER 
TOLBI_INTERIORS_ITEM_SHOPKEEPER 
TOLBI_INTERIORS_MEDAL_WOMAN 
TOLBI_INTERIORS_CHEF 
TOLBI_INTERIORS_WAITER 
TOLBI_INTERIORS_PRIEST 
TOLBI_INTERIORS_ANGRY_SAILOR 
TOLBI_INTERIORS_SAILOR_B 
TOLBI_INTERIORS_SAILOR_C 
TOLBI_INTERIORS_WOULD_BE_WARRIOR 

Definition at line 11 of file tolbi_interiors.h.

◆ TolbiInteriorsMapObject

Map objects the party can search.

Enumerator
TOLBI_INTERIORS_INN_SIGN 

the inn's sign. "Inn Full / No Vacancies"

TOLBI_INTERIORS_VIAL_BARREL 
TOLBI_INTERIORS_MEDAL_BARREL 
TOLBI_INTERIORS_HIDDEN_MEDAL_BARREL 

where the woman hid her find

TOLBI_INTERIORS_PIZZA_OVEN 
TOLBI_INTERIORS_PASTA_OVEN 
TOLBI_INTERIORS_SEAFOOD_PASTA_OVEN 

Definition at line 27 of file tolbi_interiors.h.