MEMORY:021A124A loc_21A124A ; CODE XREF: sub_21A11FA+4Aj
MEMORY:021A124A MOVS R1, #2
MEMORY:021A124C MOVS R0, R5
MEMORY:021A124E TST R0, R1 ;perform (flags & 2), and update condition codes
MEMORY:021A1250 BEQ loc_21A1256 ; if Z set, in fact, if (flags & 2) == 0 then check bit 10, else array = 1
MEMORY:021A1252 MOVS R0, #1
MEMORY:021A1254 B loc_21A1262
For Zekrom, I meant that the 'shiny lock' flag was not set whereas it should have been, and for Kyurem, the 'stationnary' flag was not set wheras it should have been.