Skip to content

Commit 2b91ac9

Browse files
authored
IV Checker Exit Condition (#506)
* Added Exit Condition for IV Checker * Modified Exit Condition
1 parent 4130942 commit 2b91ac9

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

SerialPrograms/Source/PokemonSV/Programs/Boxes/PokemonSV_BoxRoutines.cpp

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -123,6 +123,8 @@ void change_view_to_judge(
123123
// If less than 4 of the IVs are read, assume we're not on the judge screen.
124124
if (detected < 4){
125125
pbf_press_button(context, BUTTON_PLUS, 20, 230);
126+
}else{
127+
break;
126128
}
127129
}
128130
}

0 commit comments

Comments
 (0)