rem: SetContext (OldContext);
add: s.frame = SetAbsFrameIndex (MeleeFrame, 27); GetFrameRect (s.frame, &r); BuildPickFrame = CaptureDrawable (CreateDrawable ( WANT_PIXMAP, r.extent.width, r.extent.height, 1)); SetContextFGFrame (BuildPickFrame); SetFrameHot (s.frame, MAKE_HOT_SPOT (0, 0)); DrawStamp (&s); for (i = 0; i < NUM_PICK_COLS * NUM_PICK_ROWS; ++i) DrawPickIcon (i, 1);  SetContext (OldContext);
context: LoadMeleeInfo (PMELEE_STATE pMS){    STAMP	s;    CONTEXT	OldContext;	// reverting to original behavior    OldContext = SetContext (OffScreenContext);    if (PickMeleeFrame)	    DestroyDrawable (ReleaseDrawable (PickMeleeFrame));    PickMeleeFrame = CaptureDrawable (CreateDrawable (			WANT_PIXMAP, MELEE_WIDTH, MELEE_HEIGHT, 2));    s.origin.x = s.origin.y = 0;    s.frame = CaptureDrawable (LoadGraphic (MELEE_PICK_MASK_PMAP_ANIM));    SetContextFGFrame (PickMeleeFrame);    DrawStamp (&s);    s.frame = IncFrameIndex (s.frame);    SetContextFGFrame (IncFrameIndex (PickMeleeFrame));    DrawStamp (&s);    DestroyDrawable (ReleaseDrawable (s.frame));		MeleeFrame = CaptureDrawable (LoadGraphic (MELEE_SCREEN_PMAP_ANIM));	    SetContext (OldContext);	InitSpace ();	LoadTeamList (pMS, 0);}