Skip to content
🌋️
Alchemy
Theme: Weyard
Theme: Modern
Mode: Auto
Mode: Light
Mode: Dark
Alchemy
Source
Reference
Loading...
Searching...
No Matches
battle_calc.h
Go to the documentation of this file.
1
#ifndef ALCHEMY_BATTLE_CALC_H
2
#define ALCHEMY_BATTLE_CALC_H
3
4
/// @file
5
/// The battle calculation tables: hit chances, HP and PP damage and recovery.
6
7
#include "
types.h
"
8
#include "
edition.h
"
9
#include "
farcall.h
"
10
11
extern
u8
gHitTable
[];
12
extern
s32
gPpLossTable
[];
13
extern
s32
gHpRecoveryTable
[];
14
extern
s32
gPpDmgTable
[];
15
extern
s32
gHpDmgTable5
[];
16
extern
s32
gHpDmgTable8
[];
17
extern
s32
gHpDmgTable6
[];
18
extern
s32
gPpRecoveryTable
[];
19
extern
s32
gHpDmgTable
[];
20
21
#endif
gPpLossTable
s32 gPpLossTable[]
gHpDmgTable6
s32 gHpDmgTable6[]
gPpRecoveryTable
s32 gPpRecoveryTable[]
gHpDmgTable8
s32 gHpDmgTable8[]
gHpDmgTable5
s32 gHpDmgTable5[]
gHitTable
u8 gHitTable[]
gHpRecoveryTable
s32 gHpRecoveryTable[]
gHpDmgTable
s32 gHpDmgTable[]
gPpDmgTable
s32 gPpDmgTable[]
edition.h
The edition's language, for C to compare (LANGUAGE == LANGUAGE_GERMAN).
farcall.h
Public interfaces to the engine's code banks.
types.h
The integer types, TRUE, UNUSED and the fixed-address macros.
s32
signed int s32
Definition
types.h:14
u8
unsigned char u8
Definition
types.h:11
include
battle
battle_calc.h