We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent bf4da42 commit 752ed2aCopy full SHA for 752ed2a
source/menus/scene_menu.cpp
@@ -78,8 +78,10 @@ const char* get_chart_set_str() {
78
79
void updateWindDir() {
80
s16 wind_dir = dkankyo_getWindDir();
81
+
82
83
u8 wIndex = 0;
84
+ int eventWindCheck = g_env_light.mWind.mEvtWindSet;
85
86
if (wind_dir == -32768) {
87
wIndex = 0;
@@ -114,7 +116,15 @@ void updateWindDir() {
114
116
else if (wIndex == 8) {
115
117
118
}
- dkankyo_setWindDir(windDirs[wIndex]);
119
120
+ if (eventWindCheck != 0xFF){
121
+ dKyw_tact_wind_set_go();
122
+ dkankyo_setWindDir(windDirs[wIndex]);
123
+ g_env_light.mWind.mEvtWindSet = eventWindCheck;
124
+ }
125
+ else{
126
127
128
129
130
0 commit comments