mirror of
https://github.com/Ninjdai1/pokeemerald.git
synced 2024-12-26 03:34:15 +01:00
label a flag in the asm
This commit is contained in:
parent
0051947414
commit
da1b5365a7
@ -97,7 +97,7 @@ _081D9EB4:
|
|||||||
ldrb r1, [r1]
|
ldrb r1, [r1]
|
||||||
adds r0, 0x2C
|
adds r0, 0x2C
|
||||||
strb r1, [r0]
|
strb r1, [r0]
|
||||||
ldr r0, =0x00000864
|
ldr r0, =0x00000864 @ = FLAG_SYS_GAME_CLEAR
|
||||||
bl FlagGet
|
bl FlagGet
|
||||||
lsls r0, 24
|
lsls r0, 24
|
||||||
lsrs r0, 24
|
lsrs r0, 24
|
||||||
|
@ -7951,7 +7951,7 @@ sub_811EA28: @ 811EA28
|
|||||||
bgt _0811EA48
|
bgt _0811EA48
|
||||||
cmp r0, 0x11
|
cmp r0, 0x11
|
||||||
blt _0811EA66
|
blt _0811EA66
|
||||||
ldr r0, =0x00000864
|
ldr r0, =0x00000864 @ = FLAG_SYS_GAME_CLEAR
|
||||||
bl FlagGet
|
bl FlagGet
|
||||||
b _0811EA60
|
b _0811EA60
|
||||||
.pool
|
.pool
|
||||||
@ -9131,7 +9131,7 @@ _0811F2FE:
|
|||||||
adds r3, 0x1
|
adds r3, 0x1
|
||||||
cmp r3, 0x10
|
cmp r3, 0x10
|
||||||
ble _0811F2FE
|
ble _0811F2FE
|
||||||
ldr r0, =0x00000864
|
ldr r0, =0x00000864 @ = FLAG_SYS_GAME_CLEAR
|
||||||
bl FlagGet
|
bl FlagGet
|
||||||
lsls r0, 24
|
lsls r0, 24
|
||||||
cmp r0, 0
|
cmp r0, 0
|
||||||
|
@ -30184,7 +30184,7 @@ _081D6670:
|
|||||||
asrs r0, 1
|
asrs r0, 1
|
||||||
lsls r0, 1
|
lsls r0, 1
|
||||||
subs r4, r0
|
subs r4, r0
|
||||||
ldr r0, =0x00000864
|
ldr r0, =0x00000864 @ = FLAG_SYS_GAME_CLEAR
|
||||||
bl FlagGet
|
bl FlagGet
|
||||||
lsls r0, 24
|
lsls r0, 24
|
||||||
cmp r0, 0
|
cmp r0, 0
|
||||||
|
@ -718,7 +718,7 @@ _080E23AC:
|
|||||||
adds r4, 0x1
|
adds r4, 0x1
|
||||||
cmp r4, 0x3
|
cmp r4, 0x3
|
||||||
bls _080E23AC
|
bls _080E23AC
|
||||||
ldr r6, =0x00000864
|
ldr r6, =0x00000864 @ = FLAG_SYS_GAME_CLEAR
|
||||||
adds r0, r6, 0
|
adds r0, r6, 0
|
||||||
bl FlagGet
|
bl FlagGet
|
||||||
lsls r0, 24
|
lsls r0, 24
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
CC = gcc
|
CC = gcc
|
||||||
|
|
||||||
CFLAGS = -Wall -Wextra -Werror -std=c11 -O2 -s -DPNG_SKIP_SETJMP_CHECK
|
CFLAGS = -Wall -Wextra -Werror -std=c11 -O2 -DPNG_SKIP_SETJMP_CHECK
|
||||||
|
|
||||||
LIBS = -lpng -lz
|
LIBS = -lpng -lz
|
||||||
|
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
CXX := g++
|
CXX := g++
|
||||||
|
|
||||||
CXXFLAGS := -std=c++11 -O2 -s -Wall -Wno-switch -Werror
|
CXXFLAGS := -std=c++11 -O2 -Wall -Wno-switch -Werror
|
||||||
|
|
||||||
SRCS := agb.cpp error.cpp main.cpp midi.cpp tables.cpp
|
SRCS := agb.cpp error.cpp main.cpp midi.cpp tables.cpp
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user