Shinrin's got it, in Location 072, Object 08, Activate, offsets 194-19C. Not sure why it's doing the extra work of using a temp variable but if you copy those 3 lines of code over you should be fine. Or try setting bit 01 in 7F01F6 directly and see if that works without side effects.