.gba
.open "zm.gba","zsnopg.gba",0x8000000

.org 0x08005FD6
	mov r15,r2

.org 0x80060b8
	.word zsscheck

.org 0x8790000
zsscheck:

	ldr		r2,=0x3001530
	ldrb	r1,[r2,0x12]
	cmp		r1,0x2
	beq		@@nopg
	ldrb	r1,[r2,0xf]
@@nopg:
	ldr		r0,=0x8005fd8
	mov		r15,r0

.pool

.close