pokepinballrs/include/constants/fields.h
Smileynator 1c0a9314f8
Decompile sub_19048, IdlePinballGameMain, sub_19190, sub_19288 and sub_19304 (#114)
* decompile IdlePinballGameMain
documented gMain.subState
Broken state due to gIdlePinballGameStateFuncs definition

* Fixed definition of gIdlePinballGameStateFuncs

* Decimpile sub_19048

* Decomp sub_19190

* Fixed the io_reg macro name for joystick without LR as an input check.

* used proper macro's for field checks

* Decompile sub_19288 and sub_19304

* cleanup

---------

Co-authored-by: Marcus Huderle <huderlem@gmail.com>
2025-06-19 10:17:05 -05:00

16 lines
535 B
C

#ifndef GUARD_CONSTANTS_FIELDS_H
#define GUARD_CONSTANTS_FIELDS_H
#define FIELD_RUBY 0
#define FIELD_SAPPHIRE 1
#define MAIN_FIELD_COUNT 2
#define FIELD_BONUS_START 2
#define FIELD_DUSCLOPS (FIELD_BONUS_START + 0)
#define FIELD_KECLEON (FIELD_BONUS_START + 1)
#define FIELD_KYOGRE (FIELD_BONUS_START + 2)
#define FIELD_GROUDON (FIELD_BONUS_START + 3)
#define FIELD_RAYQUAZA (FIELD_BONUS_START + 4)
#define FIELD_SPHEAL (FIELD_BONUS_START + 5)
#endif // GUARD_CONSTANTS_FIELDS_H