Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- // ~~~ pret style ~~~
- if (sMonSummaryScreen->unk3224 == 1)
- {
- if (a0 == 0)
- {
- bg0Priority = 0;
- if (a1 == 0)
- {
- if (bg1Priority > bg2Priority)
- {
- bg1Priority = 1
- bg2Priority = 2;
- }
- else
- {
- bg1Priority = 2;
- bg2Priority = 1;
- }
- }
- else
- {
- if (bg1Priority > bg2Priority)
- {
- bg1Priority = 2;
- bg2Priority = 1;
- }
- else
- {
- bg1Priority = 1;
- bg2Priority = 2;
- }
- }
- }
- if (a0 == 1)
- {
- bg0Priority = 1;
- if (a1 == 0)
- {
- if (bg1Priority > bg2Priority)
- {
- bg1Priority = 0;
- bg2Priority = 2;
- }
- else
- {
- bg1Priority = 2;
- bg2Priority = 0;
- }
- }
- else
- {
- if (bg1Priority > bg2Priority)
- {
- bg1Priority = 2;
- bg2Priority = 0;
- }
- else
- {
- bg1Priority = 0;
- bg2Priority = 2;
- }
- }
- }
- }
- // ~~~ 1tbs ~~~
- if (sMonSummaryScreen->unk3224 == 1) {
- if (a0 == 0) {
- bg0Priority = 0;
- if (a1 == 0) {
- if (bg1Priority > bg2Priority) {
- bg1Priority = 1;
- bg2Priority = 2;
- } else {
- bg1Priority = 2;
- bg2Priority = 1;
- }
- } else {
- if (bg1Priority > bg2Priority) {
- bg1Priority = 2;
- bg2Priority = 1;
- } else {
- bg1Priority = 1;
- bg2Priority = 2;
- }
- }
- }
- if (a0 == 1) {
- bg0Priority = 1;
- if (a1 == 0) {
- if (bg1Priority > bg2Priority) {
- bg1Priority = 0;
- bg2Priority = 2;
- } else {
- bg1Priority = 2;
- bg2Priority = 0;
- }
- } else {
- if (bg1Priority > bg2Priority) {
- bg1Priority = 2;
- bg2Priority = 0;
- } else {
- bg1Priority = 0;
- bg2Priority = 2;
- }
- }
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement