mirror of
https://github.com/zeldaret/oot.git
synced 2025-07-12 10:54:44 +00:00
proposal for link age macros (#1119)
* proposal for link age macros * apply @Dragorn421 suggestions * also annotate the slinkage variable
This commit is contained in:
parent
621b91e2b6
commit
82cedcc3ef
12 changed files with 64 additions and 60 deletions
|
@ -342,7 +342,7 @@ s32 func_8008E9C4(Player* this) {
|
|||
}
|
||||
|
||||
s32 Player_IsChildWithHylianShield(Player* this) {
|
||||
return gSaveContext.linkAge != 0 && (this->currentShield == PLAYER_SHIELD_HYLIAN);
|
||||
return gSaveContext.linkAge != LINK_AGE_ADULT && (this->currentShield == PLAYER_SHIELD_HYLIAN);
|
||||
}
|
||||
|
||||
s32 Player_ActionToModelGroup(Player* this, s32 actionParam) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue