File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -156,7 +156,45 @@ TRAMPOLINE_DEF(0x804ea658, 0x804ea65C) {
156156 TRAMPOLINE_END
157157 blr
158158 // clang-format on
159+ } // namespace Std
160+
161+ /* *****************************************************************************
162+ *
163+ * Bowling 100-Pin Game
164+ *
165+ ******************************************************************************/
166+
167+ /* *
168+ * @brief Determines if the player can press the secret strike button
169+ */
170+ bool BwlSecretStrike () {
171+ return ItemMgr::GetInstance ().IsBwl100SecretBtn ();
159172}
160173
174+ /* *
175+ * @brief BwlSecretStrike trampoline
176+ */
177+ TRAMPOLINE_DEF (0x804f0058 , 0x804f0068 ) {
178+ // clang-format off
179+ TRAMPOLINE_BEGIN
180+
181+ bl BwlSecretStrike
182+ cmpwi r3, 0
183+ beq end
184+
185+ li r0, 0x1
186+ stw r0, 0x104 (r17)
187+ li r3, 0x472
188+ lis r12, 0x802b73bc @ha
189+ addi r12, r12, 0x802b73bc @l
190+ mtctr r12
191+ bctrl
192+
193+ end:
194+ TRAMPOLINE_END
195+ blr
196+ // clang-format on
197+ } // namespace 100
198+
161199} // namespace Bwl
162200} // namespace AP
You can’t perform that action at this time.
0 commit comments