2018-07-07 15:18:08 -04:00
|
|
|
/* stats */
|
|
|
|
extern unsigned char level;
|
|
|
|
extern unsigned char hp,max_hp;
|
|
|
|
extern unsigned char mp,max_mp;
|
|
|
|
extern unsigned char limit;
|
|
|
|
extern unsigned char money,experience;
|
|
|
|
extern unsigned char time_hours,time_minutes;
|
2018-07-15 22:37:57 -04:00
|
|
|
extern unsigned char items1,items2,items3;
|
2018-07-07 15:18:08 -04:00
|
|
|
extern unsigned char steps;
|
|
|
|
|
|
|
|
|
|
|
|
struct fixed_type {
|
|
|
|
char i;
|
|
|
|
unsigned char f;
|
|
|
|
};
|
|
|
|
|
|
|
|
int opening(void);
|
|
|
|
int title(void);
|
|
|
|
int flying(void);
|
|
|
|
|
|
|
|
void game_over(void);
|
|
|
|
void show_map(void);
|
|
|
|
void print_info(void);
|
|
|
|
void print_help(void);
|
|
|
|
|
|
|
|
int name_screen(void);
|
|
|
|
|
2018-07-09 16:47:59 -04:00
|
|
|
int do_battle(int background);
|
2018-07-15 19:44:32 -04:00
|
|
|
int boss_battle(void);
|
2018-07-07 15:18:08 -04:00
|
|
|
|
2018-07-14 14:57:19 -04:00
|
|
|
int do_ending(void);
|
|
|
|
|
2018-07-07 15:18:08 -04:00
|
|
|
int world_map(void);
|
|
|
|
|
|
|
|
int city_map(void);
|
|
|
|
|
|
|
|
int credits(void);
|
2018-07-15 20:07:40 -04:00
|
|
|
|
|
|
|
int random_8(void);
|
2018-07-18 00:11:55 -04:00
|
|
|
|
|
|
|
int player_select(void);
|