Files

27 lines
556 B
C++
Raw Permalink Normal View History

2021-07-28 00:22:51 -07:00
#include "al/LiveActor/LiveActor.h"
#include "al/util.hpp"
#include "al/layout/LayoutActor.h"
#include "game/StageScene/StageScene.h"
2021-07-28 00:22:51 -07:00
#include "game/Layouts/CoinCounter.h"
#include "rs/util.hpp"
#include <cmath>
#include <stdio.h>
#include "debugMenu.hpp"
2021-07-28 00:22:51 -07:00
void stageSceneHook() {
__asm ("MOV X19, X0");
StageScene *stageScene;
__asm ("MOV %[result], X0" : [result] "=r" (stageScene));
isInGame = true;
2021-07-28 00:22:51 -07:00
if(al::isPadTriggerUp(-1)) {
showMenu = !showMenu;
}
__asm ("MOV X0, %[input]" : [input] "=r" (stageScene));
}