diff options
| author | engineer124 <47598039+engineer124@users.noreply.github.com> | 2022-07-12 00:45:55 -0400 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2022-07-12 00:45:55 -0400 |
| commit | 8e45eb7b1f70713925e5b680459e35141426a72f (patch) | |
| tree | 63c64c068a83816559bffb89bbbfc8fd357dae35 /docs | |
| parent | fda5da2500f377c2107a296031c46f78cc8ac90a (diff) | |
`z_parameter`: Items & Import Data (#799)
* Import Data
* More functions
* cleanup
* Add Enum
* Many changes, PR and add-ons
* Fix bss
* Better data
* Extra space
* DoubleDefense is boolean
* Missed a macro
* More enums missed
* macro -> enum
* More item cleanup...
* missing/wrong quest items
* Next PR Review
* Revert Interface_AddMagic to Parameter_AddMagic
* Remove QUEST_HEART_CONTAINER
* Fix bss
* Move Color_RGB16 up + fix incorrect numbers
* Add texture pointers
* Add comment
* EQUIP_SLOT_A
* rm redundant comment
* Fix merge
* PR Suggestions
* fix bss
Diffstat (limited to 'docs')
| -rw-r--r-- | docs/tutorial/advanced_control_flow.md | 18 |
1 files changed, 9 insertions, 9 deletions
diff --git a/docs/tutorial/advanced_control_flow.md b/docs/tutorial/advanced_control_flow.md index 76d673b35..3ad2a9d4f 100644 --- a/docs/tutorial/advanced_control_flow.md +++ b/docs/tutorial/advanced_control_flow.md @@ -199,7 +199,7 @@ void func_809527F8(EnMs* this, PlayState* play) { } func_8019F208(); Actor_PickUp((Actor *) this, play, 0x35, 90.0f, 10.0f); - func_801159EC(-0xA); + Rupees_ChangeBy(-0xA); this->actionFunc = func_809529AC; } } @@ -290,7 +290,7 @@ block_13: block_15: func_8019F208(); Actor_PickUp((Actor *) this, play, 0x35, 90.0f, 10.0f); - func_801159EC(-0xA); + Rupees_ChangeBy(-0xA); this->actionFunc = func_809529AC; return; block_16: @@ -391,7 +391,7 @@ block_11: func_8019F208(); Actor_PickUp((Actor *) this, play, 0x35, 90.0f, 10.0f); - func_801159EC(-0xA); + Rupees_ChangeBy(-0xA); this->actionFunc = func_809529AC; return; block_16: @@ -460,7 +460,7 @@ block_11: func_8019F208(); Actor_PickUp((Actor *) this, play, 0x35, 90.0f, 10.0f); - func_801159EC(-0xA); + Rupees_ChangeBy(-0xA); this->actionFunc = func_809529AC; return; block_16: @@ -510,7 +510,7 @@ So let us rewrite the entire second half as a switch: func_8019F208(); Actor_PickUp((Actor *) this, play, 0x35, 90.0f, 10.0f); - func_801159EC(-0xA); + Rupees_ChangeBy(-0xA); this->actionFunc = func_809529AC; return; break; @@ -542,7 +542,7 @@ There's a couple of other obvious things here: } else { func_8019F208(); Actor_PickUp((Actor *) this, play, 0x35, 90.0f, 10.0f); - func_801159EC(-0xA); + Rupees_ChangeBy(-0xA); this->actionFunc = func_809529AC; } break; @@ -607,7 +607,7 @@ block_7: } else { func_8019F208(); Actor_PickUp((Actor *) this, play, 0x35, 90.0f, 10.0f); - func_801159EC(-0xA); + Rupees_ChangeBy(-0xA); this->actionFunc = func_809529AC; } break; @@ -672,7 +672,7 @@ void func_809527F8(EnMs* this, PlayState* play) { } else { func_8019F208(); Actor_PickUp((Actor *) this, play, 0x35, 90.0f, 10.0f); - func_801159EC(-0xA); + Rupees_ChangeBy(-0xA); this->actionFunc = func_809529AC; } break; @@ -724,7 +724,7 @@ void func_809527F8(EnMs* this, PlayState* play) { } else { func_8019F208(); Actor_PickUp((Actor *) this, play, 0x35, 90.0f, 10.0f); - func_801159EC(-0xA); + Rupees_ChangeBy(-0xA); this->actionFunc = func_809529AC; } break; |
